summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3123afd)
raw | patch | inline | side by side (parent: 3123afd)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 Apr 2008 08:06:20 +0000 (08:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 21 Apr 2008 08:06:20 +0000 (08:06 +0000) |
-Copy user memberships (memberUid too)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10576 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10576 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/groups/class_groupGeneric.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/groups/class_groupGeneric.inc b/gosa-core/plugins/admin/groups/class_groupGeneric.inc
index 319edc791904b3853e9b7179b16d4acdaa4da1a2..5c00c8155ee6b4c51ff93c0e3799c870055c5058 100644 (file)
}
}
+
+ function PrepareForCopyPaste($source)
+ {
+ plugin::PrepareForCopyPaste($source);
+
+ $this->memberUid = array();
+ if(isset($source['memberUid'])){
+ for($i = 0 ; $i < $source['memberUid']['count']; $i ++){
+ $this->memberUid[] = $source['memberUid'][$i];
+ }
+ }
+ }
+
+
function set_multi_edit_values($attrs)
{
$users = array();