[Vtigercrm-commits] [vtiger-commits] r10065 - /vtigercrm/branches/5.0.3/modules/Migration/PatchApply.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Jan 16 04:42:39 EST 2007


Author: richie
Date: Tue Jan 16 02:42:34 2007
New Revision: 10065

Log:
* Added code to update the version in table

Modified:
    vtigercrm/branches/5.0.3/modules/Migration/PatchApply.php

Modified: vtigercrm/branches/5.0.3/modules/Migration/PatchApply.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Migration/PatchApply.php (original)
+++ vtigercrm/branches/5.0.3/modules/Migration/PatchApply.php Tue Jan 16 02:42:34 2007
@@ -85,6 +85,8 @@
 	
 //HANDLE HERE - Mickie
 //Here we have to update the version in table. so that when we do migration next time we will get the version
+global $adb, $vtiger_current_version;
+$adb->query("update vtiger_version set old_version='".$versions[$source_version]."',current_version='".$vtiger_current_version."'");
 
 
 





More information about the vtigercrm-commits mailing list