public function complete() { if ($this->_db->trans_errors === FALSE) { static::commit(); } else { static::rollback(); } }
public function complete() { if ($this->_db->trans_errors === FALSE) { $this->_db->commit_transaction(); } else { $this->_db->rollback_transaction(); } }
It looks like you're new here. If you want to get involved, click one of these buttons!