Umherirrender has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/356405 )
Change subject: Remove unused global ...................................................................... Remove unused global Change-Id: I394ffcb5cfaf29708faea65382c395db2db14ffd --- M TitleBlacklist.hooks.php 1 file changed, 0 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TitleBlacklist refs/changes/05/356405/1 diff --git a/TitleBlacklist.hooks.php b/TitleBlacklist.hooks.php index 31fc457..8657968 100644 --- a/TitleBlacklist.hooks.php +++ b/TitleBlacklist.hooks.php @@ -242,7 +242,6 @@ * @param $editor EditPage */ public static function validateBlacklist( $editor, $text, $section, &$error ) { - global $wgUser; $title = $editor->mTitle; if ( $title->getNamespace() == NS_MEDIAWIKI && $title->getDBkey() == 'Titleblacklist' ) { -- To view, visit https://gerrit.wikimedia.org/r/356405 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I394ffcb5cfaf29708faea65382c395db2db14ffd Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/TitleBlacklist Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits