浏览代码

Comment out the transaction support for the menu.

Mark Crane 11 年之前
父节点
当前提交
1e1b43ffbc
共有 1 个文件被更改,包括 4 次插入5 次删除
  1. 4 5
      resources/classes/menu.php

+ 4 - 5
resources/classes/menu.php

@@ -59,7 +59,7 @@
 					}
 
 				//begin the transaction
-					$db->beginTransaction();
+					//$db->beginTransaction();
 
 				//use the app array to restore the default menu
 					foreach ($apps as $row) {
@@ -186,7 +186,7 @@
 					}
 
 				//commit the transaction
-					$db->commit();
+					//$db->commit();
 			} //end function
 
 			//restore the menu and group permissions
@@ -195,7 +195,7 @@
 					$db = $this->db;
 
 				//begin the transaction
-					$db->beginTransaction();
+					//$db->beginTransaction();
 
 				//get the $apps array from the installed apps from the core and mod directories
 					$config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_config.php");
@@ -206,7 +206,6 @@
 					}
 
 				//use the app array to restore the default menu
-					//$db->beginTransaction();
 					foreach ($apps as $row) {
 						foreach ($row['menu'] as $menu) {
 							//set the variables
@@ -375,7 +374,7 @@
 					}
 
 				//commit the transaction
-					$db->commit();
+					//$db->commit();
 			} //end function
 
 		//create the menu