Fix error with namespacing

This commit is contained in:
Tom Needham 2012-07-31 10:10:15 +00:00
parent cc6911e1f7
commit b05639e745

View file

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