@@ -654,9 +654,9 @@ |
||
654 | 654 | |
655 | 655 | public function isCheckuser() |
656 | 656 | { |
657 | - if($this->isCheckuserCache === null) { |
|
658 | - $this->isCheckuserCache = $this->checkuser == 1 || $this->oauthCanCheckUser(); |
|
659 | - } |
|
657 | + if($this->isCheckuserCache === null) { |
|
658 | + $this->isCheckuserCache = $this->checkuser == 1 || $this->oauthCanCheckUser(); |
|
659 | + } |
|
660 | 660 | |
661 | 661 | return $this->isCheckuserCache; |
662 | 662 | } |
@@ -654,7 +654,7 @@ discard block |
||
654 | 654 | |
655 | 655 | public function isCheckuser() |
656 | 656 | { |
657 | - if($this->isCheckuserCache === null) { |
|
657 | + if ($this->isCheckuserCache === null) { |
|
658 | 658 | $this->isCheckuserCache = $this->checkuser == 1 || $this->oauthCanCheckUser(); |
659 | 659 | } |
660 | 660 | |
@@ -794,7 +794,7 @@ discard block |
||
794 | 794 | prepare("UPDATE user SET oauthidentitycache = null WHERE id = :id;")-> |
795 | 795 | execute(array(":id" => $this->id)); |
796 | 796 | |
797 | - SessionAlert::warning("OAuth error getting identity from MediaWiki: " . $ex->getMessage()); |
|
797 | + SessionAlert::warning("OAuth error getting identity from MediaWiki: ".$ex->getMessage()); |
|
798 | 798 | } |
799 | 799 | } |
800 | 800 | |
@@ -869,7 +869,7 @@ discard block |
||
869 | 869 | |
870 | 870 | public function getForgottenPasswordHash() |
871 | 871 | { |
872 | - return md5($this->username . $this->email . $this->welcome_template . $this->id . $this->password); |
|
872 | + return md5($this->username.$this->email.$this->welcome_template.$this->id.$this->password); |
|
873 | 873 | } |
874 | 874 | |
875 | 875 | public function getApprovalDate() |
@@ -894,6 +894,6 @@ discard block |
||
894 | 894 | |
895 | 895 | public function getObjectDescription() |
896 | 896 | { |
897 | - return '<a href="statistics.php?page=Users&user=' . $this->getId() . '">' . htmlentities($this->username) . "</a>"; |
|
897 | + return '<a href="statistics.php?page=Users&user='.$this->getId().'">'.htmlentities($this->username)."</a>"; |
|
898 | 898 | } |
899 | 899 | } |