Physikerwelt has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/270312

Change subject: Debug: Always check files
......................................................................

Debug: Always check files

Change-Id: Id8d09ce50f99c188a44ff63e83b84b2cf5d64a27
---
M MathTexvc.php
1 file changed, 0 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math 
refs/changes/12/270312/1

diff --git a/MathTexvc.php b/MathTexvc.php
index 514a512..18d1085 100644
--- a/MathTexvc.php
+++ b/MathTexvc.php
@@ -369,10 +369,6 @@
                global $wgMathCheckFiles;
 
                if ( $this->isInDatabase() ) {
-                       if ( !$wgMathCheckFiles ) {
-                               // Short-circuit the file existence & migration 
checks
-                               return true;
-                       }
                        $filename = $this->getHashPath() . 
"/{$this->getHash()}.png"; // final storage path
                        $backend = $this->getBackend();
                        if ( $backend->fileExists( array( 'src' => $filename ) 
) ) {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id8d09ce50f99c188a44ff63e83b84b2cf5d64a27
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>

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

Reply via email to