From: rabuzarus Date: Wed, 10 Jan 2018 21:39:42 +0000 (+0100) Subject: use self::getApp()->contact X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4d5581a9d11c8f422d2c62431914a50038ba0337;p=friendica.git use self::getApp()->contact --- diff --git a/src/Module/Login.php b/src/Module/Login.php index 9c49acf44c..57f95408b9 100644 --- a/src/Module/Login.php +++ b/src/Module/Login.php @@ -181,8 +181,7 @@ class Login extends BaseModule intval($_SESSION['visitor_id']) ); if (DBM::is_result($r)) { - $a = self::getApp(); - $a->contact = $r[0]; + self::getApp()->contact; } }