fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7325] Added new async job for synchronizing name on


From: Erik Holm-Larsen
Subject: [Fmsystem-commits] [7325] Added new async job for synchronizing name on contract parties
Date: Mon, 30 May 2011 07:15:37 +0000

Revision: 7325
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7325
Author:   erikhl
Date:     2011-05-30 07:15:35 +0000 (Mon, 30 May 2011)
Log Message:
-----------
Added new async job for synchronizing name on contract parties

Modified Paths:
--------------
    trunk/rental/setup/setup.inc.php
    trunk/rental/setup/tables_update.inc.php

Modified: trunk/rental/setup/setup.inc.php
===================================================================
--- trunk/rental/setup/setup.inc.php    2011-05-30 07:14:42 UTC (rev 7324)
+++ trunk/rental/setup/setup.inc.php    2011-05-30 07:15:35 UTC (rev 7325)
@@ -1,6 +1,6 @@
 <?php
        $setup_info['rental']['name'] = 'rental';               // Module 
identifier
-       $setup_info['rental']['version'] = '0.1.0.12';  // Current module 
version
+       $setup_info['rental']['version'] = '0.1.0.13';  // Current module 
version
        $setup_info['rental']['app_order'] = 51;                // (?)
        $setup_info['rental']['tables'] = array(
                'rental_party',                                         // All 
contract participants, tenants etc.

Modified: trunk/rental/setup/tables_update.inc.php
===================================================================
--- trunk/rental/setup/tables_update.inc.php    2011-05-30 07:14:42 UTC (rev 
7324)
+++ trunk/rental/setup/tables_update.inc.php    2011-05-30 07:15:35 UTC (rev 
7325)
@@ -226,4 +226,19 @@
                return $GLOBALS['setup_info']['rental']['currentver'];
        }
        
+       $test[] = '0.1.0.12';
+       function rental_upgrade0_1_0_12()
+       {
+               $asyncservice = CreateObject('phpgwapi.asyncservice');
+               $asyncservice->set_timer(
+                       array('day' => "*/1"),
+                       'rental_sync_party_name',
+                       'rental.uiparty.syncronize_party_name',
+                       null
+                       );
+               
+               $GLOBALS['setup_info']['rental']['currentver'] = '0.1.0.13';
+               return $GLOBALS['setup_info']['rental']['currentver'];
+       }
+       
 ?>
\ No newline at end of file




reply via email to

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