From 39edfec85487f7de81fbade3c31bf2de4fabff9f Mon Sep 17 00:00:00 2001
From: redray <redray@ispconfig3>
Date: Mon, 15 Dec 2008 13:04:21 -0500
Subject: [PATCH] removed "options indexes"

---
 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 a36c636..91f9f25 100755
--- a/server/plugins-available/shelluser_base_plugin.inc.php
+++ b/server/plugins-available/shelluser_base_plugin.inc.php
@@ -126,7 +126,7 @@
 		
 		// Get the UID of the user
 		$userid = intval($app->system->getuid($data['old']['username']));
-		if($userid > 999) {
+		if($userid > $this->min_uid) {
 			$command = 'userdel';
 			$command .= ' '.escapeshellcmd($data['old']['username']);
 			

--
Gitblit v1.9.1