Changeset 2815 for trunk/install/upgrade_1.7.0.php
- Timestamp:
- Nov 1, 2008, 10:19:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/install/upgrade_1.7.0.php
r2768 r2815 34 34 } 35 35 36 define('PREFIX_TABLE', $prefixeTable);37 36 define('UPGRADES_PATH', PHPWG_ROOT_PATH.'install/db'); 38 37 … … 69 68 'id' => $upgrade_id, 70 69 'applied' => CURRENT_DATE, 71 'description' => '[migration from 1.7.0 to '. RELEASE.'] not applied',70 'description' => '[migration from 1.7.0 to '.PHPWG_VERSION.'] not applied', 72 71 ) 73 72 ); 74 73 } 75 mass_inserts( 76 '`'.UPGRADE_TABLE.'`', 77 array_keys($inserts[0]), 78 $inserts 79 ); 74 75 if (!empty($inserts)) 76 { 77 mass_inserts( 78 '`'.UPGRADE_TABLE.'`', 79 array_keys($inserts[0]), 80 $inserts 81 ); 82 } 80 83 81 84 // +-----------------------------------------------------------------------+ … … 107 110 (id, applied, description) 108 111 VALUES 109 (\''.$upgrade_id.'\', NOW(), \'[migration from 1.7.0 to '. RELEASE.'] '.$upgrade_description.'\')112 (\''.$upgrade_id.'\', NOW(), \'[migration from 1.7.0 to '.PHPWG_VERSION.'] '.$upgrade_description.'\') 110 113 ;'; 111 114 pwg_query($query);
Note: See TracChangeset
for help on using the changeset viewer.