fixed errors delete files update manager open and metaconsole
Former-commit-id: 1ebff30c092290b3e65e639d94c6920afed960c0
This commit is contained in:
parent
d5108efb0d
commit
daf72a4bac
|
@ -0,0 +1,3 @@
|
|||
/godmode/servers/recorn_script.php
|
||||
/godmode/servers/manage_recontask_form.php
|
||||
/godmode/servers/manage_recontask.php
|
|
@ -260,8 +260,15 @@ if ($install_package) {
|
|||
return;
|
||||
}
|
||||
|
||||
update_manager_enterprise_set_version($version);
|
||||
db_pandora_audit('Update '.get_product_name(), "Update version: $version of ".get_product_name().' by '.$config['id_user']);
|
||||
enterprise_hook(
|
||||
'update_manager_enterprise_set_version',
|
||||
[$version]
|
||||
);
|
||||
|
||||
db_pandora_audit(
|
||||
'Update '.get_product_name(),
|
||||
"Update version: $version of ".get_product_name().' by '.$config['id_user']
|
||||
);
|
||||
|
||||
$return['status'] = 'success';
|
||||
echo json_encode($return);
|
||||
|
|
|
@ -1284,8 +1284,10 @@ function check_install_package(package, homeurl) {
|
|||
check_install_package(package, homeurl);
|
||||
}
|
||||
|
||||
//Check if exist remove files.
|
||||
delete_desired_files(homeurl);
|
||||
if (!isInstalling) {
|
||||
//Check if exist remove files.
|
||||
delete_desired_files(homeurl);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue