tbrehm
2012-12-12 11c796f26e50179811d9c32b7437ee49796aefe0
Fixed: FS#2578 - APS Installer: Reinstall doesn't seem to work
1 files modified
6 ■■■■■ changed files
interface/web/sites/aps_do_operation.php 6 ●●●●● patch | view | raw | blame | history
interface/web/sites/aps_do_operation.php
@@ -81,7 +81,8 @@
        WHERE id = ".$app->db->quote($_GET['id'])." AND 
        (instance_status = ".INSTANCE_SUCCESS." OR instance_status = ".INSTANCE_ERROR.");");
    if($check['id'] > 0) $gui->deleteInstance($_GET['id']);
    echo $app->lng('Installation_remove');
    //echo $app->lng('Installation_remove');
    @header('Location:aps_installedpackages_list.php');
}
else if($_GET['action'] == 'reinstall_instance')
{
@@ -105,6 +106,7 @@
    if(!$check) die('Check failed'); // normally this might not happen at all, so just die
    
    $gui->reinstallInstance($_GET['id']);
    echo $app->lng('Installation_task');
    //echo $app->lng('Installation_task');
    @header('Location:aps_installedpackages_list.php');
}
?>