summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c44d9c1)
raw | patch | inline | side by side (parent: c44d9c1)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Oct 2007 13:22:29 +0000 (13:22 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Oct 2007 13:22:29 +0000 (13:22 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7519 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_servService.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_servService.inc b/plugins/admin/systems/class_servService.inc
index e2ad949f9e9e3bbf633b2f68ae2bd02f59d171dd..8c8f49e3257baa8d6ec03a778152004b036b65eb 100644 (file)
/* 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);