From: hickert Date: Thu, 11 Oct 2007 13:22:29 +0000 (+0000) Subject: Skip attribute only assigments in share remove X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e1d26790e49fb830ebe4c9a8b17ab60d6a1ad064;p=gosa.git 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 --- 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);