]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/api/ApiDisabled.php
MediaWiki 1.15.0
[autoinstallsdev/mediawiki.git] / includes / api / ApiDisabled.php
index 40e38a0f4f1dbbaf05acd011152040a02da90e31..9e0bf56e4a2a21230afcabe765d5960280208680 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 ();
        }
@@ -67,6 +71,6 @@ class ApiDisabled extends ApiBase {
        }
 
        public function getVersion() {
-               return __CLASS__ . ': $Id: ApiDisabled.php 41268 2008-09-25 20:50:50Z catrope $';
+               return __CLASS__ . ': $Id: ApiDisabled.php 48091 2009-03-06 13:49:44Z catrope $';
        }
 }