Make method static

remotes/origin/stable5
Tom Needham 14 years ago
parent 0a9ca42c34
commit cc6911e1f7
  1. 2
      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);
}

Loading…
Cancel
Save