diff --git a/MathTexvc.php b/MathTexvc.php index f4d26e3a3..89490c348 100644 --- a/MathTexvc.php +++ b/MathTexvc.php @@ -265,7 +265,7 @@ class MathTexvc extends MathRenderer { $this->setHash( $newHash ); } - wfRunHooks( 'MathAfterTexvc', array( &$this, &$errmsg ) ); + Hooks::run( 'MathAfterTexvc', array( &$this, &$errmsg ) ); if ( $errmsg ) { return $errmsg;