]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apitimelineuser.php
Don't define a variable in a function call
[quix0rs-gnu-social.git] / 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);
         }
     }