/**
  * Facade Convience method for adapter transaction system.
  * Commits a transaction.
  *
  * @return bool
  */
 public function commit()
 {
     if (!$this->redbean->isFrozen()) {
         return FALSE;
     }
     $this->adapter->commit();
     return TRUE;
 }
Esempio n. 2
0
 /**
  * Facade Convience method for adapter transaction system.
  * Commits a transaction.
  *
  * @return bool
  */
 public static function commit()
 {
     if (!self::$redbean->isFrozen()) {
         return FALSE;
     }
     self::$adapter->commit();
     return TRUE;
 }