protected handle function without args for Action

This commit is contained in:
Mikael Nordfeldth 2013-10-14 14:00:12 +02:00
parent a8bcdc905f
commit 6d739789f6

View File

@ -61,9 +61,9 @@ class UserbyidAction extends Action
* *
* @return nothing * @return nothing
*/ */
function handle($args) protected function handle()
{ {
parent::handle($args); parent::handle();
$id = $this->trimmed('id'); $id = $this->trimmed('id');
if (!$id) { if (!$id) {
// TRANS: Client error displayed trying to find a user by ID without providing an ID. // TRANS: Client error displayed trying to find a user by ID without providing an ID.