mirror of
https://github.com/friendica/friendica
synced 2025-04-26 06:30:11 +00:00
Transform ApiResponse::unspported() into dynamic method
This commit is contained in:
parent
ebf56674f1
commit
5bfcc8b91c
7 changed files with 19 additions and 20 deletions
|
@ -37,12 +37,12 @@ class Accounts extends BaseApi
|
|||
{
|
||||
public static function delete(array $parameters = [])
|
||||
{
|
||||
ApiResponse::unsupported(Router::DELETE);
|
||||
DI::apiResponse()->unsupported(Router::DELETE);
|
||||
}
|
||||
|
||||
public static function post(array $parameters = [])
|
||||
{
|
||||
ApiResponse::unsupported(Router::POST);
|
||||
DI::apiResponse()->unsupported(Router::POST);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue