From 2628adba6dd8e176c006d0090546c726e9b2b923 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 9 Oct 2007 11:57:28 +0000 Subject: [PATCH] Fixed ldap->search for environment->pluglist->reload git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7472 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_location.inc | 5 ++++- plugins/personal/environment/class_hotplugDialog.inc | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/class_location.inc b/include/class_location.inc index 75aa3f121..15c30b06f 100644 --- a/include/class_location.inc +++ b/include/class_location.inc @@ -12,7 +12,6 @@ $class_mapping= array( "selectPrinterDialog" => "plugins/personal/environment/class_selectPrinterDialog.inc", "environment" => "plugins/personal/environment/class_environment.inc", "logonManagementDialog" => "plugins/personal/environment/class_logonManagementDialog.inc", - "kioskManagementDialog" => "plugins/personal/environment/class_kioskManagementDialog.inc", "user" => "plugins/personal/generic/class_user.inc", "webdavAccount" => "plugins/personal/connectivity/class_webdavAccount.inc", "proxyAccount" => "plugins/personal/connectivity/class_proxyAccount.inc", @@ -183,6 +182,10 @@ $class_mapping= array( "ogroup" => "plugins/admin/ogroups/class_ogroup.inc", "phonequeue" => "plugins/admin/ogroups/class_phonequeue.inc", "mailogroup" => "plugins/admin/ogroups/class_mailogroup.inc", + "devicetabs" => "plugins/admin/devices/tabs_devices.inc", + "deviceManagement" => "plugins/admin/devices/class_deviceManagement.inc", + "divListDevices" => "plugins/admin/devices/class_divListDevices.inc", + "deviceGeneric" => "plugins/admin/devices/class_deviceGeneric.inc", "fonreport" => "plugins/gofon/fonreports/class_fonreport.inc", "divListMacro" => "plugins/gofon/macro/class_divListMacros.inc", "goFonMacro" => "plugins/gofon/macro/class_gofonMacroManagement.inc", diff --git a/plugins/personal/environment/class_hotplugDialog.inc b/plugins/personal/environment/class_hotplugDialog.inc index a4b446b7b..0dd418e13 100644 --- a/plugins/personal/environment/class_hotplugDialog.inc +++ b/plugins/personal/environment/class_hotplugDialog.inc @@ -75,7 +75,7 @@ class hotplugDialog extends plugin function getHotplugs() { $ldap= $this->config->get_ldap_link(); - $ldap->cd($this->depselect); + $ldap->cd("ou=devices,".$this->depselect); $ldap->search("(&(objectClass=gotoDevice)(|(cn=".$this->regex.")(description=".$this->regex.")))",array("gotoHotplugDevice","cn","dn")); $a_return = array(); -- 2.30.2