summaryrefslogtreecommitdiffstats
path: root/lib/api.php
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-08-30 14:01:27 +0000
committerTom Needham <needham.thomas@gmail.com>2012-08-30 14:01:27 +0000
commit0d1d2c0b61a4a0bcbc4b08a927fa815f4673d31e (patch)
tree8062b4c93c1d9902533d77f6dafffab1b1328cc4 /lib/api.php
parentb26ffdc4d676373c0914211d6b2105a0b2e63eac (diff)
downloadnextcloud-server-0d1d2c0b61a4a0bcbc4b08a927fa815f4673d31e.tar.gz
nextcloud-server-0d1d2c0b61a4a0bcbc4b08a927fa815f4673d31e.zip
Fix class name
Diffstat (limited to 'lib/api.php')
-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();
}