fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [11363] property: move function call


From: Sigurd Nes
Subject: [Fmsystem-commits] [11363] property: move function call
Date: Thu, 10 Oct 2013 10:51:32 +0000

Revision: 11363
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11363
Author:   sigurdne
Date:     2013-10-10 10:51:29 +0000 (Thu, 10 Oct 2013)
Log Message:
-----------
property: move function call

Modified Paths:
--------------
    trunk/property/inc/custom/default/BkBygg_editer_system_oversikt.php
    trunk/property/inc/custom/default/catch_ticket_export.php
    trunk/property/inc/custom/default/hent_maaler_nr_til_besikt_rapport.php
    trunk/property/inc/custom/default/ticket_redirect_based_on_status.php

Modified: trunk/property/inc/custom/default/BkBygg_editer_system_oversikt.php
===================================================================
--- trunk/property/inc/custom/default/BkBygg_editer_system_oversikt.php 
2013-10-09 14:03:30 UTC (rev 11362)
+++ trunk/property/inc/custom/default/BkBygg_editer_system_oversikt.php 
2013-10-10 10:51:29 UTC (rev 11363)
@@ -3,8 +3,6 @@
        /*
        * This class will update classification records baed on input.
        */
-       $systemoversikt = new ikt_systemoversikt();
-       
$systemoversikt->set_classification($values,$values_attribute,$entity_id,$cat_id,$receipt);
 
        class ikt_systemoversikt extends property_boentity
        {
@@ -121,3 +119,7 @@
                        
$this->so->edit($_values,$values_attribute,$entity_id,$cat_id);
                }
        }
+
+       $systemoversikt = new ikt_systemoversikt();
+       
$systemoversikt->set_classification($values,$values_attribute,$entity_id,$cat_id,$receipt);
+

Modified: trunk/property/inc/custom/default/catch_ticket_export.php
===================================================================
--- trunk/property/inc/custom/default/catch_ticket_export.php   2013-10-09 
14:03:30 UTC (rev 11362)
+++ trunk/property/inc/custom/default/catch_ticket_export.php   2013-10-10 
10:51:29 UTC (rev 11363)
@@ -5,9 +5,6 @@
                // out: 'deliver'
                // in: 'pickup'
 
-       $export = new catch_ticket_export();
-       $export->export_ticket($ticket);
-       
        class catch_ticket_export extends property_botts
        {
                protected $db;
@@ -283,3 +280,7 @@
                        return $connection;
                }
        }
+
+       $export = new catch_ticket_export();
+       $export->export_ticket($ticket);
+

Modified: 
trunk/property/inc/custom/default/hent_maaler_nr_til_besikt_rapport.php
===================================================================
--- trunk/property/inc/custom/default/hent_maaler_nr_til_besikt_rapport.php     
2013-10-09 14:03:30 UTC (rev 11362)
+++ trunk/property/inc/custom/default/hent_maaler_nr_til_besikt_rapport.php     
2013-10-10 10:51:29 UTC (rev 11363)
@@ -5,10 +5,6 @@
        * 
        */
 
-
-       $data_sync = new entity_data_sync();
-       $data_sync->update_data($values, $values_attribute, $action);
-
        class entity_data_sync extends property_boentity
        {
                protected $db;
@@ -181,3 +177,6 @@
                }
        }
 
+       $data_sync = new entity_data_sync();
+       $data_sync->update_data($values, $values_attribute, $action);
+

Modified: trunk/property/inc/custom/default/ticket_redirect_based_on_status.php
===================================================================
--- trunk/property/inc/custom/default/ticket_redirect_based_on_status.php       
2013-10-09 14:03:30 UTC (rev 11362)
+++ trunk/property/inc/custom/default/ticket_redirect_based_on_status.php       
2013-10-10 10:51:29 UTC (rev 11363)
@@ -4,8 +4,6 @@
        * This class will enable status conditional redirect on tickets.
        * A config section will be defined where conditions on status and 
target can be configured.
        */
-       $ticket_redirect = new ticket_redirect_based_on_status();
-       $ticket_redirect->check_status($data);
 
        class ticket_redirect_based_on_status extends property_botts
        {
@@ -87,3 +85,6 @@
                        }
                }
        }
+
+       $ticket_redirect = new ticket_redirect_based_on_status();
+       $ticket_redirect->check_status($data);




reply via email to

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