From 73db66afa58cb14c6ced4163c10f4603a3399428 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 28 Apr 2010 14:28:05 +0000 Subject: 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 --- install/upgrade_1.7.0.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'install/upgrade_1.7.0.php') 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 '
';
 
-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 '
'; 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'); ?> -- cgit v1.2.3