summaryrefslogtreecommitdiffstats
path: root/lib/public/api.php
diff options
context:
space:
mode:
authorTom Needham <tom@owncloud.com>2012-07-31 10:10:15 +0000
committerTom Needham <tom@owncloud.com>2012-07-31 10:10:15 +0000
commitb05639e745cabf8d11785f673593680448d844a2 (patch)
tree73949a78ee4536597f43f2149de19d51edbc0ee3 /lib/public/api.php
parentcc6911e1f709edc42ea5558e19fcdeea75cdcf39 (diff)
downloadnextcloud-server-b05639e745cabf8d11785f673593680448d844a2.tar.gz
nextcloud-server-b05639e745cabf8d11785f673593680448d844a2.zip
Fix error with namespacing
Diffstat (limited to 'lib/public/api.php')
-rw-r--r--lib/public/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/api.php b/lib/public/api.php
index 518e6f00970..ed1f6ef237c 100644
--- a/lib/public/api.php
+++ b/lib/public/api.php
@@ -35,7 +35,7 @@ class API {
* @param string $app the id of the app registering the call
*/
public static function register($method, $url, $action, $app){
- OC_API::register($method, $url, $action, $app);
+ \OC_API::register($method, $url, $action, $app);
}
}