summaryrefslogtreecommitdiff
path: root/actions/apiusershow.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/apiusershow.php')
-rw-r--r--actions/apiusershow.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/actions/apiusershow.php b/actions/apiusershow.php
index a7fe0dcc1..6c8fad49b 100644
--- a/actions/apiusershow.php
+++ b/actions/apiusershow.php
@@ -123,4 +123,19 @@ class ApiUserShowAction extends ApiPrivateAuthAction
}
+ /**
+ * Return true if read only.
+ *
+ * MAY override
+ *
+ * @param array $args other arguments
+ *
+ * @return boolean is read only action?
+ */
+
+ function isReadOnly($args)
+ {
+ return true;
+ }
+
}