fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [11952] Property: reset budget cache on status change


From: Sigurd Nes
Subject: [Fmsystem-commits] [11952] Property: reset budget cache on status change
Date: Wed, 07 May 2014 07:37:26 +0000

Revision: 11952
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11952
Author:   sigurdne
Date:     2014-05-07 07:37:22 +0000 (Wed, 07 May 2014)
Log Message:
-----------
Property: reset budget cache on status change

Modified Paths:
--------------
    trunk/property/inc/class.soproject.inc.php

Modified: trunk/property/inc/class.soproject.inc.php
===================================================================
--- trunk/property/inc/class.soproject.inc.php  2014-05-06 13:30:43 UTC (rev 
11951)
+++ trunk/property/inc/class.soproject.inc.php  2014-05-07 07:37:22 UTC (rev 
11952)
@@ -2913,6 +2913,7 @@
 
                                if($old_status != $status_new)
                                {
+                                       
phpgwapi_cache::system_clear('property', "budget_order_{$id}");
                                        $this->db->query("UPDATE fm_workorder 
SET status = '{$status_new}' WHERE id = '{$id}'", __LINE__, __FILE__);
                                        $historylog->add('S', $id, $status_new, 
$old_status);
                                        $historylog->add('RM', $id, 'Status 
endret via masseoppdatering eller prosjekt');




reply via email to

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