Merge "Update the DB output hash if outdated according to texvc"
This commit is contained in:
commit
7bd39100b2
|
@ -193,7 +193,11 @@ class MathTexvc extends MathRenderer {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !$errmsg ) {
|
if ( !$errmsg ) {
|
||||||
$this->setHash( substr( $contents, 1, 32 ) );
|
$newHash = substr( $contents, 1, 32 );
|
||||||
|
if ( $this->hash !== $newHash ) {
|
||||||
|
$this->recall = false; // DB needs update in writeCache() (bug 60997)
|
||||||
|
}
|
||||||
|
$this->setHash( $newHash );
|
||||||
}
|
}
|
||||||
|
|
||||||
wfRunHooks( 'MathAfterTexvc', array( &$this, &$errmsg ) );
|
wfRunHooks( 'MathAfterTexvc', array( &$this, &$errmsg ) );
|
||||||
|
|
Loading…
Reference in New Issue