Don't call $this->getUser() twice
Change-Id: I9f9640d422b3a398884b1bb9f447220ff1838793
This commit is contained in:
parent
402c07aadd
commit
a63e4c1f99
|
@ -130,7 +130,6 @@ class SpecialContact extends UnlistedSpecialPage {
|
|||
$subject = wfMessage( 'contactpage-defsubject' )->inContentLanguage()->text();
|
||||
}
|
||||
|
||||
$user = $this->getUser();
|
||||
$fromAddress = '';
|
||||
$fromName = '';
|
||||
if( $user->isLoggedIn() ) {
|
||||
|
|
Loading…
Reference in New Issue