From: hickert Date: Fri, 12 Oct 2007 05:33:31 +0000 (+0000) Subject: Kioskmanagement -> remove entry : X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0a1b34128790bd3385ec47dece5b6826c40492fd;p=gosa.git Kioskmanagement -> remove entry : Fixed check for still used kiosk profiles. : git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7524 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_kioskManagementDialog.inc b/plugins/personal/environment/class_kioskManagementDialog.inc index c3e88aca4..fd3342d67 100644 --- a/plugins/personal/environment/class_kioskManagementDialog.inc +++ b/plugins/personal/environment/class_kioskManagementDialog.inc @@ -63,7 +63,7 @@ class kioskManagementDialog extends plugin /* check if profile is still in use */ $ldap = $this->config->get_ldap_link(); $ldap->cd($this->config->current['BASE']); - $ldap->search("(gotoKioskProfile=*lhs.schema*)",array("cn","uid","gotoKioskProfile")); + $ldap->search("(gotoKioskProfile=*".$name."*)",array("cn","uid","gotoKioskProfile")); $used_by = ""; $cnt = 3; while(($attrs = $ldap->fetch()) && ($cnt)){