From 72e90545454c0e014318fa3c81658e035aac58c1 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 10 Jun 2009 13:00:47 +0200 Subject: applying patch to version 1.15.0 --- includes/api/ApiDisabled.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'includes/api/ApiDisabled.php') diff --git a/includes/api/ApiDisabled.php b/includes/api/ApiDisabled.php index 40e38a0f..9e0bf56e 100644 --- a/includes/api/ApiDisabled.php +++ b/includes/api/ApiDisabled.php @@ -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 $'; } } -- cgit v1.2.3-54-g00ecf