jenkins-bot has submitted this change and it was merged.

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, 2 insertions(+), 2 deletions(-)

Approvals:
  Ori.livneh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/MathTexvc.php b/MathTexvc.php
index 8b4f877..0044698 100644
--- a/MathTexvc.php
+++ b/MathTexvc.php
@@ -276,7 +276,7 @@
         */
        public function writeCache() {
                global $wgUseSquid;
-               if ( !$this->isRecall() ) {
+               if ( $this->isRecall() ) {
                        return;
                }
                $this->writeDBEntry();
@@ -315,4 +315,4 @@
                }
        }
 
-}
\ No newline at end of file
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/53316
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id58dac55ce79f568e4b4a42a155235af5a46bf7f
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: Physikerwelt <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to