]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/apiaccountratelimitstatus.php
OStatus: handle update-profile Salmon pings
[quix0rs-gnu-social.git] / actions / apiaccountratelimitstatus.php
index 1a5afd552c90d8c1d43b6ecdb0cd257dfd40d356..f19e315bf88e5d5b0dc2b5f4b355bc5de4cbf62f 100644 (file)
@@ -105,7 +105,22 @@ class ApiAccountRateLimitStatusAction extends ApiBareAuthAction
              print json_encode($out);
          }
 
-         $this->endDocument($this->format);
+        $this->endDocument($this->format);
+    }
+
+    /**
+     * Return true if read only.
+     *
+     * MAY override
+     *
+     * @param array $args other arguments
+     *
+     * @return boolean is read only action?
+     */
+
+    function isReadOnly($args)
+    {
+        return true;
     }
 
 }