Code

Updated retry execution for dist lists
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Oct 2010 09:38:10 +0000 (09:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Oct 2010 09:38:10 +0000 (09:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19997 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/groupware/admin/ogroups/GroupwareDistributionList/class_GroupwareDistributionList.inc

index 89a55acf58fd32c526dba7f5bcba83b73634db88..29766a234295235babc8170a36f1bea7ec30338f 100644 (file)
@@ -308,10 +308,10 @@ class GroupwareDistributionList extends plugin
      */ 
     function save_object()
     {
+        if(isset($_POST['retryInit'])){
+            $this->init();
+        }
         if(isset($_POST['DistributionList_posted'])){
-            if(isset($_POST['retryInit'])){
-                $this->init();
-            }
             if(!isset($_POST['useMailSizeLimit'])) $this->mailSizeLimit = NULL;
             plugin::save_object();
         }