From a3e2d2089abfe14a5564c565b15fdd5c8b73e3d2 Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Thu, 12 Feb 2009 10:52:45 -0500
Subject: [PATCH] Fixed: FS#518 - maildirsize creation seems not to work immediately 

---
 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