From b07944798848bc5196dc75e8d8caea5ca71b0f15 Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Sun, 28 Oct 2012 11:06:47 +0000 Subject: Add API method for sharing a file, currently only via a link. --- lib/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/api.php') 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)); -- cgit v1.2.3