summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 30622d4)
raw | patch | inline | side by side (parent: 30622d4)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 26 Feb 2009 15:52:49 +0000 (15:52 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 26 Feb 2009 15:52:49 +0000 (15:52 +0000) |
also copy applicationParameters (Fix for LHM #1269)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13473 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13473 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/goto/admin/applications/class_applicationParameters.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/goto/admin/applications/class_applicationParameters.inc b/trunk/gosa-plugins/goto/admin/applications/class_applicationParameters.inc
index fecd5927e27a0bf6b5fda5e086222958620f37cf..bfc6a855541b04a5c47dba0fc819d07b30ed9ac8 100644 (file)
/* attribute list for save action */
var $attributes= array("gosaApplicationParameter");
- var $objectclasses= array();
-
- var $CopyPasteVars = array("option_name","option_value");
function applicationParameters (&$config, $dn= NULL, $parent= NULL)
{
$this->handle_post_events('modify');
}
+ function PrepareForCopyPaste($source)
+ {
+ plugin::PrepareForCopyPaste($source);
+
+ $source_o = new applicationParameters($this->config,$source['dn']);
+ $this->option_name = $source_o->option_name;
+ $this->option_value = $source_o->option_value;
+
+ /* Set is_account state so that the save function is called properly */
+ $this->is_account = TRUE;
+ }
+
/* Return plugin informations for acl handling
#FIXME FAIscript seams to ununsed within this class... */
static function plInfo()