예제 #1
0
파일: storage.php 프로젝트: Git-Host/email
 /**
  * Updates value of default identity for account.
  * 
  * @param CIdentity $oIdentity New default identity.
  * @param int $iIdAccount Account identifier.
  * 
  * @return bool
  */
 public function updateIdentitiesDefaults($iIdentityId, $iIdAccount)
 {
     $bResult = (bool) $this->oConnection->Execute($this->oCommandCreator->updateIdentitiesDefaultsQuery($iIdentityId, $iIdAccount));
     $this->throwDbExceptionIfExist();
     return $bResult;
 }