public function commit() { $this->assertFinished(); $this->finished = true; if (!$this->savepointName) { $this->db->commit(); } else { $this->db->savepointRelease($this->savepointName); } }
protected function closeTransaction() { $this->db->commit(); }