From 4ebb1385334ec103bdb456a7c7567b32077c6016 Mon Sep 17 00:00:00 2001 From: florian HENRY Date: Wed, 21 Mar 2018 23:03:22 +0100 Subject: [PATCH] last ones --- htdocs/user/class/user.class.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index 75bc87f61a7..82b10426622 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -115,7 +115,7 @@ class User extends CommonObject public $lastsearch_values_tmp; // To store current search criterias for user public $lastsearch_values; // To store last saved search criterias for user - public $users = array(); // To store all tree of users hierarchy + public $users = array(); // To store all tree of users hierarchy public $parentof; // To store an array of all parents for all ids. private $cache_childids; @@ -3012,11 +3012,11 @@ class User extends CommonObject } /** - * Return property of contact from its id + * Return property of user from its id * * @param int $rowid id of contact * @param string $mode 'email' or 'mobile' - * @return string Email of contact with format: "Full name " + * @return string Email of user with format: "Full name " */ function user_get_property($rowid,$mode) { @@ -3049,7 +3049,7 @@ class User extends CommonObject } /** - * Load all objects into $this->lines + * Load all objects into $this->users * * @param string $sortorder sort order * @param string $sortfield sort field @@ -3062,7 +3062,6 @@ class User extends CommonObject { global $conf; - $sql="SELECT t.rowid"; $sql.= ' FROM '.MAIN_DB_PREFIX .$this->table_element.' as t '; $sql.= " WHERE 1";