aboutsummaryrefslogtreecommitdiffstats
path: root/install/upgrade_1.4.0.php
diff options
context:
space:
mode:
Diffstat (limited to 'install/upgrade_1.4.0.php')
-rw-r--r--install/upgrade_1.4.0.php12
1 files changed, 3 insertions, 9 deletions
diff --git a/install/upgrade_1.4.0.php b/install/upgrade_1.4.0.php
index a5f8f38c6..fef961254 100644
--- a/install/upgrade_1.4.0.php
+++ b/install/upgrade_1.4.0.php
@@ -188,12 +188,6 @@ foreach ($queries as $query)
pwg_query($query);
}
-$new_time = get_moment();
-echo '<pre>['.get_elapsed_time($last_time, $new_time).']';
-echo ' Basic database structure upgrade done</pre>';
-flush();
-$last_time = $new_time;
-
// user datas migration from phpwebgallery_users to phpwebgallery_user_infos
$query = '
SELECT *
@@ -287,16 +281,16 @@ foreach ($queries as $query)
pwg_query($query);
}
-$infos = array();
-
if ($prefix_thumbnail != 'TN-')
{
array_push(
- $infos,
+ $page['infos'],
'the thumbnail prefix configuration parameter was moved to configuration
file, copy config_local.inc.php from "tools" directory to "include" directory
and edit $conf[\'prefix_thumbnail\'] = '.$prefix_thumbnail
);
}
+// now we upgrade from 1.5.0 to 1.6.0
+include_once(PHPWG_ROOT_PATH.'install/upgrade_1.5.0.php');
?> \ No newline at end of file