From 11d410138ab6a78edd668a8de80e50b82c4c81dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sun, 18 Jul 2010 16:36:33 +0200 Subject: [PATCH] Removes useless assignement, yourself was already fetched in the above query. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/profile/general.inc.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/profile/general.inc.php b/modules/profile/general.inc.php index c89c11c..55782e1 100644 --- a/modules/profile/general.inc.php +++ b/modules/profile/general.inc.php @@ -558,9 +558,6 @@ class ProfileSettingGeneral extends ProfilePage LEFT JOIN profile_phones AS pp ON (pp.pid = p.pid AND link_type = 'user') WHERE p.pid = {?}", $this->pid()); $this->values = $res->fetchOneAssoc(); - if ($this->owner) { - $this->values['yourself'] = $this->owner->displayName(); - } // Retreive photo informations $res = XDB::query("SELECT pub -- 2.1.4