diff options
author | Tom Needham <needham.thomas@gmail.com> | 2012-08-30 14:01:27 +0000 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2012-08-30 14:01:27 +0000 |
commit | 0d1d2c0b61a4a0bcbc4b08a927fa815f4673d31e (patch) | |
tree | 8062b4c93c1d9902533d77f6dafffab1b1328cc4 | |
parent | b26ffdc4d676373c0914211d6b2105a0b2e63eac (diff) | |
download | nextcloud-server-0d1d2c0b61a4a0bcbc4b08a927fa815f4673d31e.tar.gz nextcloud-server-0d1d2c0b61a4a0bcbc4b08a927fa815f4673d31e.zip |
Fix class name
-rw-r--r-- | lib/api.php | 2 | ||||
-rw-r--r-- | settings/oauth.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/api.php b/lib/api.php index c91216179e2..55de438f429 100644 --- a/lib/api.php +++ b/lib/api.php @@ -166,7 +166,7 @@ class OC_API { */ public static function checkLoggedIn(){ // Check OAuth - if(!OC_OAuthServer::isAuthorised()){ + if(!OC_OAuth_Server::isAuthorised()){ OC_Response::setStatus(401); die(); } diff --git a/settings/oauth.php b/settings/oauth.php index f088453a26a..c6c9be515bf 100644 --- a/settings/oauth.php +++ b/settings/oauth.php @@ -22,7 +22,7 @@ switch($operation){ $token = $server->fetch_request_token($request); echo $token; } catch (OAuthException $exception) { - OC_Log::write('OC_OAuthServer', $exception->getMessage(), OC_LOG::ERROR); + OC_Log::write('OC_OAuth_Server', $exception->getMessage(), OC_LOG::ERROR); echo $exception->getMessage(); } break; @@ -71,7 +71,7 @@ switch($operation){ $token = $server->fetch_access_token($request); echo $token; } catch (OAuthException $exception) { - OC_Log::write('OC_OAuthServer', $exception->getMessage(), OC_LOG::ERROR); + OC_Log::write('OC_OAuth_Server', $exception->getMessage(), OC_LOG::ERROR); echo $exception->getMessage(); } break; |