From: Stéphane Jacob Date: Sun, 18 Jul 2010 14:36:33 +0000 (+0200) Subject: Removes useless assignement, yourself was already fetched in the above query. X-Git-Tag: xorg/1.0.1~317 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=11d410138ab6a78edd668a8de80e50b82c4c81dc;p=platal.git Removes useless assignement, yourself was already fetched in the above query. Signed-off-by: Stéphane Jacob --- 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