File pandorafms_console-dis_update_manager.patch of Package pandorafms_console

diff -Ppru pandora_console.orig/godmode/menu.php pandora_console.um/godmode/menu.php
--- pandora_console.orig/godmode/menu.php	2017-01-20 08:31:38.222299662 +0100
+++ pandora_console.um/godmode/menu.php	2017-03-16 03:08:30.255898111 +0100
@@ -408,7 +408,7 @@ foreach ($rows as $row) {
 $menu_godmode["links"]["sub"] = $sub;
 
 // Update Manager
-if (check_acl ($config['id_user'], 0, "PM")) {
+if (check_acl ($config['id_user'], 0, "PM") && 0) {
 	$menu_godmode["messages"]["text"] = __('Update manager');
 	$menu_godmode["messages"]["sec2"] = "";
 	$menu_godmode["messages"]["id"] = "god-um_messages";
diff -Ppru pandora_console.orig/index.php pandora_console.um/index.php
--- pandora_console.orig/index.php	2017-01-20 08:31:38.902336864 +0100
+++ pandora_console.um/index.php	2017-03-16 03:06:37.974349859 +0100
@@ -558,7 +558,7 @@ if ($process_login) {
 	require_once("include/functions_update_manager.php");
 	enterprise_include_once("include/functions_update_manager.php");
 	
-	if ($config["autoupdate"] == 1) {
+	if ($config["autoupdate"] == 1 && 0) {
 		if (enterprise_installed()) {
 			$result = update_manager_check_online_enterprise_packages_available();
 		}