mirror of
https://github.com/nextcloud/server.git
synced 2026-02-22 01:11:23 -05:00
Make method static
This commit is contained in:
parent
0a9ca42c34
commit
cc6911e1f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue