jenkins-bot has submitted this change and it was merged.

Change subject: BagOStuff::delete no longer accepts 2 args
......................................................................


BagOStuff::delete no longer accepts 2 args

Change-Id: I93a8f406952b78847070bbd97fadb30edef772c7
---
M includes/Data/BagOStuff/BufferedBagOStuff.php
1 file changed, 3 insertions(+), 5 deletions(-)

Approvals:
  Catrope: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/Data/BagOStuff/BufferedBagOStuff.php 
b/includes/Data/BagOStuff/BufferedBagOStuff.php
index 5a1db3e..8e6bdf4 100644
--- a/includes/Data/BagOStuff/BufferedBagOStuff.php
+++ b/includes/Data/BagOStuff/BufferedBagOStuff.php
@@ -185,10 +185,9 @@
 
        /**
         * @param string $key
-        * @param int $time
         * @return bool
         */
-       public function delete( $key, $time = 0 ) {
+       public function delete( $key ) {
                $cache = $this->cache;
 
                /**
@@ -202,11 +201,10 @@
                 * always return true, regardless of whether or not the key 
existed.
                 *
                 * @param string $key
-                * @param int $time
                 * @return bool
                 */
-               $delete = function ( $key, $time = 0 ) use ( $cache ) {
-                       $cache->delete( $key, $time );
+               $delete = function ( $key ) use ( $cache ) {
+                       $cache->delete( $key );
                        return true;
                };
 

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I93a8f406952b78847070bbd97fadb30edef772c7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to