Ori.livneh has uploaded a new change for review.
https://gerrit.wikimedia.org/r/53316
Change subject: (Bug 45973) Fix check for avoiding re-cache
......................................................................
(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
---
M MathTexvc.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math
refs/changes/16/53316/1
diff --git a/MathTexvc.php b/MathTexvc.php
index 97ccd27..ac94676 100644
--- a/MathTexvc.php
+++ b/MathTexvc.php
@@ -275,7 +275,7 @@
*/
public function writeCache() {
global $wgUseSquid;
- if ( !$this->isRecall() ) {
+ if ( $this->isRecall() ) {
return;
}
$this->writeDBEntry();
--
To view, visit https://gerrit.wikimedia.org/r/53316
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id58dac55ce79f568e4b4a42a155235af5a46bf7f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits