summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/api.php2
1 files changed, 1 insertions, 1 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();
}