Aude has uploaded a new change for review.
https://gerrit.wikimedia.org/r/192296
Change subject: Make HashBagOStuff::lock() compatible with BagOStuff::lock
......................................................................
Make HashBagOStuff::lock() compatible with BagOStuff::lock
Fixes php strict standard error.
Bug: T90427
Change-Id: Ica2bddead9b5ad367510e898eeea1257a53b5b19
---
M includes/objectcache/HashBagOStuff.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/96/192296/1
diff --git a/includes/objectcache/HashBagOStuff.php
b/includes/objectcache/HashBagOStuff.php
index 9d65e38..2c8b05a 100644
--- a/includes/objectcache/HashBagOStuff.php
+++ b/includes/objectcache/HashBagOStuff.php
@@ -77,7 +77,7 @@
return true;
}
- function lock( $key ) {
+ public function lock( $key, $timeout = 6, $expiry = 6 ) {
return true;
}
--
To view, visit https://gerrit.wikimedia.org/r/192296
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ica2bddead9b5ad367510e898eeea1257a53b5b19
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aude <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits