public function commitDbTransaction() { $this->_transactionStarted--; if (!$this->_transactionStarted) { try { $this->_connection->commit(); } catch (PDOException $e) { throw new Horde_Db_Exception($e); } } }