Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/247782
Change subject: Add $flags to set() to match core
......................................................................
Add $flags to set() to match core
Change-Id: Ib0586cf33ff8e0d8b29406869be513cf7ce22599
---
M includes/Data/BagOStuff/BufferedBagOStuff.php
1 file changed, 2 insertions(+), 8 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow
refs/changes/82/247782/1
diff --git a/includes/Data/BagOStuff/BufferedBagOStuff.php
b/includes/Data/BagOStuff/BufferedBagOStuff.php
index 5a1db3e..d347c8b 100644
--- a/includes/Data/BagOStuff/BufferedBagOStuff.php
+++ b/includes/Data/BagOStuff/BufferedBagOStuff.php
@@ -130,18 +130,12 @@
} );
}
- /**
- * @param string $key
- * @param mixed $value
- * @param int $exptime
- * @return bool
- */
- public function set( $key, $value, $exptime = 0 ) {
+ public function set( $key, $value, $exptime = 0, $flags = 0 ) {
$this->defer( array( $this->cache, __FUNCTION__ ),
func_get_args(), $key );
// Store the value in memory, so that when we ask for it again
later in
// this same request, we get the value we just set
- return parent::set( $key, $value, $exptime );
+ return parent::set( $key, $value, $exptime, $flags );
}
/**
--
To view, visit https://gerrit.wikimedia.org/r/247782
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib0586cf33ff8e0d8b29406869be513cf7ce22599
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits