Code

Fixed creation if departments (organizationalUnit)
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Oct 2009 07:28:43 +0000 (07:28 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 29 Oct 2009 07:28:43 +0000 (07:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14697 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/departments/class_departmentManagement.inc
gosa-core/plugins/admin/departments/dep-list.xml

index 6f34b2ec7608993c0d62ecf03a0ac3df57f11e1e..24dbdca973c0c9869c2bca81bf84fb432dece327 100644 (file)
@@ -68,7 +68,7 @@ class departmentManagement extends management
     $this->registerAction("new_locality","newEntry");
     $this->registerAction("new_dcObject","newEntry");
     $this->registerAction("new_organization","newEntry");
-    $this->registerAction("new_department","newEntry");
+    $this->registerAction("new_organizationalUnit","newEntry");
 
     $this->registerAction("performRecMove","performRecMove");
     $this->registerAction("tagDepartment","tagDepartment");
index 24b1052cfca8de76c51c987f496aad59f2c1de1f..fb7ef73c6ffe9f41ca185f133aef7f69697b22e6 100644 (file)
@@ -53,7 +53,7 @@
 
     <objectType>
       <label>Department</label>
-      <objectClass>department</objectClass>
+      <objectClass>organizationalUnit</objectClass>
       <category>department</category>
       <class>department</class>
       <image>images/lists/folder.png</image>
      </action>
 
      <action>
-      <name>new_department</name>
+      <name>new_organizationalUnit</name>
       <type>entry</type>
       <label>Department</label>
       <image>images/lists/folder.png</image>