aboutsummaryrefslogtreecommitdiffstats
path: root/install/upgrade_1.7.0.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-04-28 14:28:05 +0000
committerplegall <plg@piwigo.org>2010-04-28 14:28:05 +0000
commit73db66afa58cb14c6ced4163c10f4603a3399428 (patch)
treee5546bda92f92c4de6c1f104a66efebd3f462df3 /install/upgrade_1.7.0.php
parentaaa31653eee276541f693a42159c1ea40421dbfd (diff)
feature 1630: upgrade to Piwigo 2.1 :-)
bug 1604: only activate core themes not all themes. git-svn-id: http://piwigo.org/svn/trunk@5982 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install/upgrade_1.7.0.php')
-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');
?>