summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a4b5c29)
raw | patch | inline | side by side (parent: a4b5c29)
| author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
| Tue, 7 Oct 2008 12:04:04 +0000 (12:04 +0000) | ||
| committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
| Tue, 7 Oct 2008 12:04:04 +0000 (12:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12616 594d385d-05f5-0310-b6e9-bd551577e9d8
| gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc b/gosa-plugins/goto/admin/ogroups/goto/class_termgroup.inc
index fe937fa33a7c07c94706f4826f9c18a50cc6c350..497a818453fe1736609281ec16347b5ba3aca0c5 100644 (file)
***************/
plugin::plugin($config, $dn, $parent);
-
$ldap= $config->get_ldap_link();
$this->is_account = true;
/* Save to LDAP */
function save()
{
+ if (isset($this->parent->by_name['termstartup'])){
+ $this->objectclasses= array("gotoTerminalTemplate");
+ } else {
+ $this->objectclasses= array("gotoWorkstationTemplate");
+ }
+
plugin::save();
/***************