Don't define a variable in a function call

This commit is contained in:
Mikael Nordfeldth 2014-11-22 12:26:51 +01:00
parent a83e20add9
commit d1b10ee92b

View File

@ -224,7 +224,7 @@ class ApiTimelineUserAction extends ApiBareAuthAction
break;
default:
// TRANS: Client error displayed when coming across a non-supported API method.
$this->clientError(_('API method not found.'), $code = 404);
$this->clientError(_('API method not found.'), 404);
}
}