示例#1
0
 /**
  *
  * @param Account $account
  * @return bool
  */
 function UpdateAccountImapQuota($account)
 {
     if ($account->ImapQuota == 1) {
         $this->_connector->Execute($this->_commandCreator->UpdateAccountImapQuotaOff($account->IdUser));
     }
     return $this->_connector->Execute($this->_commandCreator->UpdateAccountImapQuota($account->ImapQuota, $account->Id));
 }