Merge "Unused variable $wgUser"
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 29 May 2012 20:20:58 +0000 (20:20 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 29 May 2012 20:20:58 +0000 (20:20 +0000)
includes/specials/SpecialEmailuser.php

index 55b500d..2ab02cb 100644 (file)
@@ -254,7 +254,7 @@ class SpecialEmailUser extends UnlistedSpecialPage {
         * or maybe even true on success if anything uses the EmailUser hook.
         */
        public static function submit( array $data, IContextSource $context ) {
-               global $wgUser, $wgUserEmailUseReplyTo;
+               global $wgUserEmailUseReplyTo;
 
                $target = self::getTarget( $data['Target'] );
                if( !$target instanceof User ) {