* remove manageContacts and deleteContacts method of user module.

This commit is contained in:
chenfeiCF
2016-04-18 15:12:37 +08:00
parent 9c3e35e4b1
commit 3e7ff8731d
5 changed files with 2 additions and 110 deletions
-20
View File
@@ -915,26 +915,6 @@ class userModel extends model
return $this->dao->lastInsertID();
}
/**
* Append some users to a contact list.
*
* @param int $listID
* @param string $userList
* @access public
* @return void
*/
public function append2ContactList($listID, $userList)
{
$list = $this->getContactListByID($listID);
if($list->userList) $userList = array_merge($userList, explode(',', $list->userList));
$userList = array_unique($userList);
sort($userList);
$userList = join(',', $userList);
$this->dao->update(TABLE_USERCONTACT)->set('userList')->eq($userList)->where('id')->eq($listID)->exec();
}
/**
* Update a contact list.
*