From 5994d3e7b53d6145b996a082b601442fc028b802 Mon Sep 17 00:00:00 2001 From: lub Date: Thu, 23 Jul 2015 14:26:21 +0200 Subject: [PATCH] bugfix --- cronjob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cronjob.php b/cronjob.php index bc30172..e84c3f4 100644 --- a/cronjob.php +++ b/cronjob.php @@ -26,7 +26,7 @@ foreach($roots as $root) { continue; } $i++; - if($delete == true AND $group['total_clients'] == 0 AND $i != 1) { + if($delete == true AND $group['total_clients'] == 0) { $group->delete(); } if($group['total_clients'] == 0) {