Remove backwards compatible code for MediaWiki < 1.28

Extension already requires 1.32+ in extension.json

Change-Id: I76005515ca2dbf367cfc13ab5db8ee7c51bb11cb
This commit is contained in:
Fomafix 2021-07-05 18:48:19 +00:00 committed by DannyS712
parent ec085db978
commit 1d8693829b

View file

@ -98,10 +98,7 @@ class ReplaceAll extends Maintenance {
$this->addOption( 'rename', "Rename page titles instead of replacing contents.",
false, false );
// MW 1.28
if ( method_exists( $this, 'requireExtension' ) ) {
$this->requireExtension( 'Replace Text' );
}
$this->requireExtension( 'Replace Text' );
}
private function getUser() {