Code

Added storage RDN properties.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 13:07:02 +0000 (13:07 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 10 May 2010 13:07:02 +0000 (13:07 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18260 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/gofon/gofon/macro/class_gofonMacro.inc

index 47da2e0afad80e3210576dd438b6c60f30ca3189..fc9f8809da04442666d84ba95fc6249f5be56e24 100644 (file)
@@ -581,6 +581,22 @@ class macro extends plugin
           "plCategory"    => array("gofonmacro" => array("description" => _("GOfon macro"),
               "objectClass" => "gofonMacro")),
 
+          "plProperties" =>
+          array(
+              array(
+                  "name"          => "phoneMacroRDN",
+                  "type"          => "rdn",
+                  "default"       => "ou=macros,ou=asterisk,ou=configs,ou=systems,",
+                  "description"   => "The 'phoneMacroRDN' statement defines the location where new phone macros will be created. The default is 'ou=macros,ou=asterisk,ou=configs,ou=systems,'.",
+                  "check"         => "gosaProperty::isRdn",
+                  "migrate"       => "",
+                  "group"         => "plugin",
+                  "mandatory"     => FALSE
+                  )
+              ),
+
+
+
           "plProvidedAcls" => array(
             "cn"                            => _("Macro name"),
             "base"                          => _("Base"),