summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6bc38be)
raw | patch | inline | side by side (parent: 6bc38be)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Oct 2007 13:20:45 +0000 (13:20 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 11 Oct 2007 13:20:45 +0000 (13:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7518 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_goShareServer.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_goShareServer.inc b/plugins/admin/systems/class_goShareServer.inc
index 6f6347627cb316854e4aa78158b7a2aff047d553..6a9f8424c60cd9cce51d3c57b9ec6661616e4776 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);