mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-30 18:35:12 +00:00
Remove unused non-global $wgUser in wfTest
Bug: T248550 Change-Id: I994bd6158012461efbb238c7a869fa8e642bca96
This commit is contained in:
parent
ee3df023e7
commit
b3252601a3
|
@ -51,7 +51,6 @@ class WfTest extends Maintenance {
|
|||
$offset = $this->getOption( 'offset', 0 );
|
||||
$length = $this->getOption( 'length', PHP_INT_MAX );
|
||||
$userName = $this->getOption( 'user', 'Maintenance script' );
|
||||
$wgUser = User::newFromName( $userName );
|
||||
$allEquations = self::getMathTagsFromPage( $page );
|
||||
if ( !is_array( $allEquations ) ) {
|
||||
echo "Could not get equations from page '$page'\n";
|
||||
|
|
Loading…
Reference in a new issue