Code

Group applications will now be copied too.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 11 Apr 2007 13:37:34 +0000 (13:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 11 Apr 2007 13:37:34 +0000 (13:37 +0000)
closes #40 fixed

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6014 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupApplication.inc

index 2bce8f201c2631cc277ea7c7efc2a55f0b1c3fea..57546bdf3a654bad7e6707a33888f823e8be2531 100644 (file)
@@ -1060,6 +1060,13 @@ class appgroup extends plugin
     }
   return($ret);
   }
+
+  function PrepareForCopyPaste($source)
+  {
+    $this->FAIrelease = $this->InitialFAIrelease = $source->FAIrelease;
+    $this->gosaMemberApplication = $source->gosaMemberApplication;
+    $this->appoption = $source->appoption; 
+  }
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: