summaryrefslogtreecommitdiff
path: root/actions/apistatusesshow.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apistatusesshow.php')
-rw-r--r--actions/apistatusesshow.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/actions/apistatusesshow.php b/actions/apistatusesshow.php
index f4a79ddbc..e684a07ee 100644
--- a/actions/apistatusesshow.php
+++ b/actions/apistatusesshow.php
@@ -171,9 +171,14 @@ class ApiStatusesShowAction extends ApiPrivateAuthAction
*
* @return boolean true
*/
+
function isReadOnly($args)
{
- return true;
+ if ($_SERVER['REQUEST_METHOD'] == 'GET') {
+ return true;
+ } else {
+ return false;
+ }
}
/**