mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-15 03:23:51 +00:00
Gadgets: add class version to Memcached key. This will help in avoid problems like we had with switches back and forth between 1.16 and 1.17 versions of this extension.
This commit is contained in:
parent
d720a2340f
commit
5c03dc8ff7
|
@ -407,7 +407,7 @@ class Gadget {
|
|||
if ( $gadgets !== null && $forceNewText === null ) return $gadgets;
|
||||
|
||||
wfProfileIn( __METHOD__ );
|
||||
$key = wfMemcKey( 'gadgets-definition' );
|
||||
$key = wfMemcKey( 'gadgets-definition', self::GADGET_CLASS_VERSION );
|
||||
|
||||
if ( $forceNewText === null ) {
|
||||
//cached?
|
||||
|
|
Loading…
Reference in a new issue