diff options
author | Frank Karlitschek <frank@owncloud.org> | 2013-04-28 03:51:21 -0700 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2013-04-28 03:51:21 -0700 |
commit | 1f194b7bdcbac868525b164b29814d3373b6e818 (patch) | |
tree | 44fe27cc55abe42d42398a3f2004b2ded2cddb81 /lib/api.php | |
parent | 901e0c598d57bf9009371ccad2f755cbfbd39ba2 (diff) | |
parent | 1e1a8b2f3caf1c11ac031c5a34890bac0480989c (diff) | |
download | nextcloud-server-1f194b7bdcbac868525b164b29814d3373b6e818.tar.gz nextcloud-server-1f194b7bdcbac868525b164b29814d3373b6e818.zip |
Merge pull request #3154 from owncloud/fix_3153
Change app identifier for core api routes
Diffstat (limited to 'lib/api.php')
-rw-r--r-- | lib/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api.php b/lib/api.php index 12eea52d3b3..249d7a90350 100644 --- a/lib/api.php +++ b/lib/api.php @@ -89,7 +89,7 @@ class OC_API { $responses = array(); foreach(self::$actions[$name] as $action) { // Check authentication and availability - if(!self::isAuthorised(self::$actions[$name])) { + if(!self::isAuthorised($action)) { $responses[] = array( 'app' => $action['app'], 'response' => new OC_OCS_Result(null, OC_API::RESPOND_UNAUTHORISED, 'Unauthorised'), |