forked from GNUsocial/gnu-social
protected handle function without args for Action
This commit is contained in:
parent
a8bcdc905f
commit
6d739789f6
@ -61,9 +61,9 @@ class UserbyidAction extends Action
|
||||
*
|
||||
* @return nothing
|
||||
*/
|
||||
function handle($args)
|
||||
protected function handle()
|
||||
{
|
||||
parent::handle($args);
|
||||
parent::handle();
|
||||
$id = $this->trimmed('id');
|
||||
if (!$id) {
|
||||
// TRANS: Client error displayed trying to find a user by ID without providing an ID.
|
||||
|
Loading…
Reference in New Issue
Block a user