]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apistatusesshow.php
Merge remote-tracking branch 'upstream/master'
[quix0rs-gnu-social.git] / actions / apistatusesshow.php
index 70b9a9c27a49427fc3ab6eed4ed5cea7bb92c9d5..988ed804e91fddf7c52ea80639afbfb76d84c485 100644 (file)
@@ -176,7 +176,7 @@ class ApiStatusesShowAction extends ApiPrivateAuthAction
      * @return boolean true
      */
 
-    function isReadOnly($args)
+    function isReadOnly(array $args=array())
     {
         return ($_SERVER['REQUEST_METHOD'] == 'GET' || $_SERVER['REQUEST_METHOD'] == 'HEAD');
     }