diff options
author | Tom Needham <needham.thomas@gmail.com> | 2012-10-28 11:06:47 +0000 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2012-10-28 11:06:47 +0000 |
commit | b07944798848bc5196dc75e8d8caea5ca71b0f15 (patch) | |
tree | 36f9d1f314c209a5261348f9c4e2ca2ad25be0e0 /lib/api.php | |
parent | 07111ff672037282a6ca870fc19eab9f36875ea0 (diff) | |
download | nextcloud-server-b07944798848bc5196dc75e8d8caea5ca71b0f15.tar.gz nextcloud-server-b07944798848bc5196dc75e8d8caea5ca71b0f15.zip |
Add API method for sharing a file, currently only via a link.
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 29403030233..d11c3799d9a 100644 --- a/lib/api.php +++ b/lib/api.php @@ -91,7 +91,7 @@ class OC_API { // Loop through registered actions foreach(self::$actions[$name] as $action){ $app = $action['app']; - // Authorsie this call + // Authorise this call if(self::isAuthorised($action)){ if(is_callable($action['action'])){ $responses[] = array('app' => $app, 'response' => call_user_func($action['action'], $parameters)); |