(Bug 45973) Fix check for avoiding re-cache

If the request could not be served from the cache, we *do* want to cache it.

Change-Id: Id58dac55ce79f568e4b4a42a155235af5a46bf7f
This commit is contained in:
Ori Livneh 2013-03-11 20:54:54 -07:00 committed by Gerrit Code Review
parent 20af9faba6
commit f5422cf85a
1 changed files with 2 additions and 2 deletions

View File

@ -276,7 +276,7 @@ class MathTexvc extends MathRenderer {
*/
public function writeCache() {
global $wgUseSquid;
if ( !$this->isRecall() ) {
if ( $this->isRecall() ) {
return;
}
$this->writeDBEntry();
@ -315,4 +315,4 @@ class MathTexvc extends MathRenderer {
}
}
}
}