summaryrefslogtreecommitdiffstats
path: root/lib/public/api.php
diff options
context:
space:
mode:
authorTom Needham <tom@owncloud.com>2012-07-31 09:28:12 +0000
committerTom Needham <tom@owncloud.com>2012-07-31 09:28:12 +0000
commitcc6911e1f709edc42ea5558e19fcdeea75cdcf39 (patch)
tree5f38ac17b8131a3ff8c9cf5349bac850f3fd89ff /lib/public/api.php
parent0a9ca42c3479e1ebd0efee2bfae10958677bb657 (diff)
downloadnextcloud-server-cc6911e1f709edc42ea5558e19fcdeea75cdcf39.tar.gz
nextcloud-server-cc6911e1f709edc42ea5558e19fcdeea75cdcf39.zip
Make method static
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 270aa893297..518e6f00970 100644
--- a/lib/public/api.php
+++ b/lib/public/api.php
@@ -34,7 +34,7 @@ class API {
* @param callable $action the function to run
* @param string $app the id of the app registering the call
*/
- public function register($method, $url, $action, $app){
+ public static function register($method, $url, $action, $app){
OC_API::register($method, $url, $action, $app);
}