From 4fa7eb02662eccdb52681aba623a0f97077f961d Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 12 Feb 2009 10:30:56 -0500
Subject: [PATCH] Fixed a bug when a alias domain or subdomain of a website gets deleted.
---
server/plugins-available/shelluser_base_plugin.inc.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/server/plugins-available/shelluser_base_plugin.inc.php b/server/plugins-available/shelluser_base_plugin.inc.php
index bf834c7..59cfad9 100755
--- a/server/plugins-available/shelluser_base_plugin.inc.php
+++ b/server/plugins-available/shelluser_base_plugin.inc.php
@@ -141,7 +141,7 @@
// Get the UID of the user
$userid = intval($app->system->getuid($data['old']['username']));
if($userid > $this->min_uid) {
- $command = 'userdel';
+ $command = 'userdel --force';
$command .= ' '.escapeshellcmd($data['old']['username']);
exec($command);
--
Gitblit v1.9.1