Code

Updated get_ou it receives values from the config registry now.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 13:32:37 +0000 (13:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 13:32:37 +0000 (13:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18263 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/addons/goto/events/class_EventAddSystemDialog.inc
gosa-plugins/goto/addons/goto/events/class_EventAddUserDialog.inc

index f7ba9ec8e30a0839dbd90c7f9e12fde1282e4eb6..5f905011e818c1a51335f9af2e4f0ca2b2cfbd11 100644 (file)
@@ -31,10 +31,10 @@ class EventAddSystemDialog extends management
     $this->config = $config;
     $this->ui = $ui;
     $this->storagePoints = array(
-        get_ou("serverRDN")
-        get_ou("workstationRDN")
-        get_ou("ogroupRDN")
-        get_ou('terminalRDN'));
+        get_ou("group", "ogroupRDN") 
+        get_ou("group", "ogroupRDN") 
+        get_ou("group", "ogroupRDN") 
+        get_ou("group", "ogroupRDN") );
 
     // Build filter
     if (session::global_is_set(get_class($this)."_filter")){
index 0649761c88422e0a946242bf1f8adc21979a691f..e5a99a8c8a896ab4e56b44298aa0ca0eb34e34be 100644 (file)
@@ -31,8 +31,8 @@ class EventAddUserDialog extends management
     $this->config = $config;
     $this->ui = $ui;
     $this->storagePoints = array(
-        get_ou("userRDN")
-        get_ou("groupRDN")); 
+        get_ou("core", "userRDN") 
+        get_ou("core", "userRDN") ); 
 
     // Build filter
     if (session::global_is_set(get_class($this)."_filter")){