Addshore has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/222902

Change subject: Remove ApiWikibase::isReadMode
......................................................................

Remove ApiWikibase::isReadMode

This is just set to true here and is also
true in ApiBase, thus no really point in overriding
it here to do the same thing...

Change-Id: I7ec07c2963901c4a29612361affe1d389257b306
---
M repo/includes/api/ApiWikibase.php
1 file changed, 0 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/02/222902/1

diff --git a/repo/includes/api/ApiWikibase.php 
b/repo/includes/api/ApiWikibase.php
index 8c4ae26..eee9cab 100644
--- a/repo/includes/api/ApiWikibase.php
+++ b/repo/includes/api/ApiWikibase.php
@@ -170,15 +170,6 @@
        }
 
        /**
-        * @see ApiBase::isReadMode
-        *
-        * @return bool Always true in this abstract base implementation.
-        */
-       public function isReadMode() {
-               return true;
-       }
-
-       /**
         * Returns the permissions that are required to perform the operation 
specified by
         * the parameters.
         *

-- 
To view, visit https://gerrit.wikimedia.org/r/222902
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7ec07c2963901c4a29612361affe1d389257b306
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Addshore <addshorew...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to