Paladox has uploaded a new change for review.

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

Change subject: Fix ExtensionDistributor api
......................................................................

Fix ExtensionDistributor api

I was getting this error in my error_log

[26-Mar-2016 00:14:46 Europe/London] PHP Strict Standards:  Declaration of
ApiListExtDistBranches::getCacheMode() should be compatible with
ApiQueryBase::getCacheMode($params) in
/home/randomwi/public_html/en/extensions/ExtensionDistributor/includes/api/ApiListExtDistBranches.php
on line 0

Per
https://github.com/wikimedia/mediawiki/blob/master/includes/api/ApiQueryBase.php#L66

Change-Id: Ic67539a024cd2da0328d76831f8192c4c9ab3b67
---
M includes/api/ApiListExtDistBranches.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ExtensionDistributor 
refs/changes/08/280508/1

diff --git a/includes/api/ApiListExtDistBranches.php 
b/includes/api/ApiListExtDistBranches.php
index ae8a1a2..d8da7bb 100644
--- a/includes/api/ApiListExtDistBranches.php
+++ b/includes/api/ApiListExtDistBranches.php
@@ -25,7 +25,7 @@
                return $this->providers[$type];
        }
 
-       public function getCacheMode() {
+       public function getCacheMode( $params ) {
                return 'public';
        }
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic67539a024cd2da0328d76831f8192c4c9ab3b67
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ExtensionDistributor
Gerrit-Branch: master
Gerrit-Owner: Paladox <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to