]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Don't define a variable in a function call
authorMikael Nordfeldth <mmn@hethane.se>
Sat, 22 Nov 2014 11:26:51 +0000 (12:26 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Sat, 22 Nov 2014 11:26:51 +0000 (12:26 +0100)
actions/apitimelineuser.php

index 97462452f22c0642453df81aedb56df3e2213fea..b105a29dd14a5c7f56727d8ade40cbe827d8a95d 100644 (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);
         }
     }