Don't call $this->getUser() twice

Change-Id: I9f9640d422b3a398884b1bb9f447220ff1838793
This commit is contained in:
Kunal Mehta 2016-08-09 19:19:57 -07:00
parent 402c07aadd
commit a63e4c1f99
1 changed files with 0 additions and 1 deletions

View File

@ -130,7 +130,6 @@ class SpecialContact extends UnlistedSpecialPage {
$subject = wfMessage( 'contactpage-defsubject' )->inContentLanguage()->text();
}
$user = $this->getUser();
$fromAddress = '';
$fromName = '';
if( $user->isLoggedIn() ) {