/**
  * @param Account $account
  * @return bool
  */
 function UpdateAccountData(&$account)
 {
     if (!$this->_dbConnection->Execute($this->_commandCreator->UpdateAccount($account)) || !$this->_dbConnection->Execute($this->_commandCreator->UpdateSettings($account))) {
         return false;
     }
     return $this->UpdateColumns($account);
 }
Beispiel #2
0
 /**
  * @param Account $account
  * @return bool
  */
 function UpdateOnlyAccoutnData($account)
 {
     return $this->_dbConnection->Execute($this->_commandCreator->UpdateAccount($account));
 }