summaryrefslogtreecommitdiffstats
path: root/lib/api.php
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-10-28 11:06:47 +0000
committerTom Needham <needham.thomas@gmail.com>2012-10-28 11:06:47 +0000
commitb07944798848bc5196dc75e8d8caea5ca71b0f15 (patch)
tree36f9d1f314c209a5261348f9c4e2ca2ad25be0e0 /lib/api.php
parent07111ff672037282a6ca870fc19eab9f36875ea0 (diff)
downloadnextcloud-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.php2
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));