Esempio n. 1
0
 /**
  * Performs a rollback on the transaction on the database connection of this model
  * @param boolean $isTransactionStarted The rollback is only performed when true is provided
  * @return null
  */
 protected function rollbackTransaction($isTransactionStarted)
 {
     if (!$isTransactionStarted) {
         return;
     }
     $connection = $this->meta->getConnection();
     $connection->rollbackTransaction();
 }