From 38c4cca3e77345d37881673d7874f81c3a15358f Mon Sep 17 00:00:00 2001 From: zolij <zolij86@gmail.com> Date: Sun, 26 Jan 2014 23:37:41 +0100 Subject: [PATCH] =?UTF-8?q?getData=20publikuss=C3=A1=20t=C3=A9tele=20a=20k?= =?UTF-8?q?=C3=ADv=C3=BClr=C5=91l=20t=C3=B6rt=C3=A9n=C5=91=20h=C3=ADv?= =?UTF-8?q?=C3=A1shoz?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- php/AuthSCHClient.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/php/AuthSCHClient.class.php b/php/AuthSCHClient.class.php index b405fbe..42ac4d2 100644 --- a/php/AuthSCHClient.class.php +++ b/php/AuthSCHClient.class.php @@ -34,8 +34,6 @@ class AuthSCHClient { } else { $this->tokens = $tokens; } - - return $this->getData(); } public function __destruct() { @@ -96,7 +94,7 @@ class AuthSCHClient { } - private function getData() { + public function getData() { return json_decode(file_get_contents(self::$host . 'api/view/scope/' . self::$scope . '?access_token=' . $this->tokens->access_token)); } -- GitLab