From e7b49caad62200c6c81bbc3db10774952c7a067f Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 14 Jul 2017 20:44:45 -0600 Subject: [PATCH] Update database.php --- resources/classes/database.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/classes/database.php b/resources/classes/database.php index 7701320266..07990355bd 100644 --- a/resources/classes/database.php +++ b/resources/classes/database.php @@ -1139,7 +1139,7 @@ include "root.php"; $this->debug["sql"] = true; //start the atomic transaction - //$this->db->beginTransaction(); + $this->db->beginTransaction(); //debug info //echo "
\n";
@@ -1493,7 +1493,6 @@ include "root.php";
 															$sql .= "AND ".$child_key_name." = '".$child_key_value."' ";
 															$sql = str_replace(", WHERE", " WHERE", $sql);
 															$this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
-										//					unset($row);
 
 															//$prep_statement->bindParam(':domain_uuid', $_SESSION["domain_uuid"] );
 
@@ -1688,7 +1687,7 @@ include "root.php";
 					$this->message = $message;
 
 				//commit the atomic transaction
-					//$this->db->commit();
+					$this->db->commit();
 
 				//get the UUIDs
 					$user_uuid = $_SESSION['user_uuid'];