Refactor redundant attrib dropping into new method
[lhc/web/wiklou.git] / includes / api / ApiDisabled.php
index 3136384..c4cd621 100644 (file)
@@ -48,6 +48,10 @@ class ApiDisabled extends ApiBase {
                $this->dieUsage("The ``{$this->getModuleName()}'' module has been disabled.", 'moduledisabled');
        }
 
+       public function isReadMode() {
+               return false;
+       }
+
        public function getAllowedParams() {
                return array ();
        }