Make method static

This commit is contained in:
Tom Needham 2012-07-31 09:28:12 +00:00
parent 0a9ca42c34
commit cc6911e1f7

View file

@ -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);
}