* finish task #2363,2364.
This commit is contained in:
@@ -781,6 +781,18 @@ class userModel extends model
|
||||
$this->dao->update(TABLE_USER)->set('fails')->eq(0)->set('locked')->eq('0000-00-00 00:00:00')->where('account')->eq($account)->exec();
|
||||
}
|
||||
|
||||
/**
|
||||
* Unbind Ranzhi
|
||||
*
|
||||
* @param string $account
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function unbind($account)
|
||||
{
|
||||
$this->dao->update(TABLE_USER)->set('bindRanzhi')->eq('')->where('account')->eq($account)->exec();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get contact list of a user.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user