Shouldn't need to change the memcache hash unless we're changing the
memcache value.
Bug: T144952
Change-Id: I8e5cc29bfa0372f0071914e534e0b80cc4d34286
if ( $dest === 'all' ) {
$cacheKey = wfMemcKey( 'messages', $code );
$success = $this->mMemc->set( $cacheKey, $cache );
if ( $dest === 'all' ) {
$cacheKey = wfMemcKey( 'messages', $code );
$success = $this->mMemc->set( $cacheKey, $cache );
+ $this->setValidationHash( $code, $cache );
} else {
$success = true;
}
} else {
$success = true;
}
- $this->setValidationHash( $code, $cache );
$this->saveToLocalCache( $code, $cache );
return $success;
$this->saveToLocalCache( $code, $cache );
return $success;