Fix error with namespacing
This commit is contained in:
parent
cc6911e1f7
commit
b05639e745
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class API {
|
|||
* @param string $app the id of the app registering the call
|
||||
*/
|
||||
public static function register($method, $url, $action, $app){
|
||||
OC_API::register($method, $url, $action, $app);
|
||||
\OC_API::register($method, $url, $action, $app);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue