/** * Commit the database changes done during a transaction * * @access public * @return mixed True on success, a Jaws_Error error on failure */ function commit() { if (self::$in_transaction) { self::$in_transaction = false; self::$auto_rollback_on_error = true; $this->jawsdb->dbc->commit(); } return $this; }