]> git.mxchange.org Git - friendica.git/commitdiff
use self::getApp()->contact
authorrabuzarus <trebor@central-unit>
Wed, 10 Jan 2018 21:39:42 +0000 (22:39 +0100)
committerrabuzarus <trebor@central-unit>
Wed, 10 Jan 2018 21:39:42 +0000 (22:39 +0100)
src/Module/Login.php

index 9c49acf44c33c1d4cf5127a0a34fded4b210efc6..57f95408b9e97a753ee762d038e0f38d4658ede3 100644 (file)
@@ -181,8 +181,7 @@ class Login extends BaseModule
                                        intval($_SESSION['visitor_id'])\r
                                );\r
                                if (DBM::is_result($r)) {\r
-                                       $a = self::getApp();\r
-                                       $a->contact = $r[0];\r
+                                       self::getApp()->contact;\r
                                }\r
                        }\r
 \r