From e1d26790e49fb830ebe4c9a8b17ab60d6a1ad064 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 11 Oct 2007 13:22:29 +0000 Subject: [PATCH] Skip attribute only assigments in share remove git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7519 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_servService.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_servService.inc b/plugins/admin/systems/class_servService.inc index e2ad949f9..8c8f49e32 100644 --- a/plugins/admin/systems/class_servService.inc +++ b/plugins/admin/systems/class_servService.inc @@ -97,7 +97,7 @@ class servservice extends plugin /* Check if the share is used by someone */ $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); - $ldap->search("(|(gotoProfileServer=*|$id)(gotoShare=*|$id|*))", array("cn")); + $ldap->search("(|(gotoProfileServer=*|$id)(gotoShare=*|$id|*||*))", array("cn")); $cnt= $ldap->count(); if ($cnt){ $msg= sprintf(_("The share can't be removed since it is still used by %d users:"), $cnt); -- 2.30.2