fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [10776] Removed status update code on edit


From: Torstein
Subject: [Fmsystem-commits] [10776] Removed status update code on edit
Date: Fri, 08 Feb 2013 15:18:01 +0000

Revision: 10776
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10776
Author:   vator
Date:     2013-02-08 15:18:01 +0000 (Fri, 08 Feb 2013)
Log Message:
-----------
Removed status update code on edit

Modified Paths:
--------------
    trunk/controller/inc/class.uicheck_list.inc.php

Modified: trunk/controller/inc/class.uicheck_list.inc.php
===================================================================
--- trunk/controller/inc/class.uicheck_list.inc.php     2013-02-08 15:17:02 UTC 
(rev 10775)
+++ trunk/controller/inc/class.uicheck_list.inc.php     2013-02-08 15:18:01 UTC 
(rev 10776)
@@ -251,7 +251,7 @@
                        {
                                $type = "location";
                        }
-                       
+                         
                        $control = $this->so_control->get_single( 
$check_list->get_control_id() );
                        
                        $year = date("Y", $deadline_ts);
@@ -291,9 +291,6 @@
                                $check_list = 
$this->so->get_single($check_list_id);
                        }
                        
-                       $cl_status_updater = new check_list_status_updater();
-                       $cl_status_updater->update_check_list_status( 
$check_list_id );
-               
                        $control = 
$this->so_control->get_single($check_list->get_control_id());
                        
                        $component_id = $check_list->get_component_id();
@@ -416,6 +413,9 @@
                        {
                                $check_list_id  = $this->so->store($check_list);
                                
+        $cl_status_updater = new check_list_status_updater();
+        $cl_status_updater->update_check_list_status( $check_list_id );
+      
                                if( $check_list_id > 0 )
                                {
                                        $this->redirect(array('menuaction' => 
'controller.uicheck_list.edit_check_list', 'check_list_id' => $check_list_id)); 
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]