Skip to content

Commit c63b399

Browse files
unknownunknown
authored andcommitted
Few more fixes on uninstall
1 parent 92aea2e commit c63b399

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

install/uninstall.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@
5555
$input = fgets(STDIN);
5656
$do_uninstall = rtrim($input);
5757

58-
echo "\n\n>> Uninstalling ISPConfig 3... \n\n";
5958

6059
if($do_uninstall == 'yes') {
6160

61+
echo "\n\n>> Uninstalling ISPConfig 3... \n\n";
6262

6363
// Delete the ISPConfig database
6464
// $app->db->query("DROP DATABASE '".$conf["db_database"]."'");
@@ -86,9 +86,10 @@
8686
exec('rm -rf /usr/local/ispconfig');
8787

8888
echo "Please do not forget to delete the ispconfig user in the mysql.user table.\n\n";
89-
90-
echo "Finished.\n";
89+
echo "Finished uninstalling.\n";
9190

91+
} else {
92+
echo "\n\n>> Canceled uninstall. \n\n";
9293
}
9394

9495
?>

0 commit comments

Comments
 (0)