aboutsummaryrefslogtreecommitdiffstats
path: root/install/upgrade_1.7.0.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--install/upgrade_1.7.0.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/install/upgrade_1.7.0.php b/install/upgrade_1.7.0.php
index 6d5c2da6f..5a9398814 100644
--- a/install/upgrade_1.7.0.php
+++ b/install/upgrade_1.7.0.php
@@ -33,11 +33,6 @@ else
}
}
-define('UPGRADES_PATH', PHPWG_ROOT_PATH.'install/db');
-
-list($dbnow) = pwg_db_fetch_row(pwg_query('SELECT NOW();'));
-define('CURRENT_DATE', $dbnow);
-
// +-----------------------------------------------------------------------+
// | Fill upgrade table without applying upgrade |
// +-----------------------------------------------------------------------+
@@ -88,7 +83,7 @@ if (!empty($inserts))
ob_start();
echo '<pre>';
-for ($upgrade_id = 61; ; $upgrade_id++)
+for ($upgrade_id = 61; $upgrade_id <= 79; $upgrade_id++)
{
if (!file_exists(UPGRADES_PATH.'/'.$upgrade_id.'-database.php'))
{
@@ -119,5 +114,5 @@ echo '</pre>';
ob_end_clean();
// now we upgrade from 2.0.0
-// include_once(PHPWG_ROOT_PATH.'install/upgrade_2.0.0.php');
+include_once(PHPWG_ROOT_PATH.'install/upgrade_2.0.0.php');
?>