mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-15 10:59:28 +00:00
Remove backwards compatible code for MediaWiki < 1.28
Extension already requires 1.32+ in extension.json Change-Id: I76005515ca2dbf367cfc13ab5db8ee7c51bb11cb
This commit is contained in:
parent
ec085db978
commit
1d8693829b
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue