fixes #662 replace obsolete dump (database export) by a simple message

The message is copied from update guide on piwigo.org
This commit is contained in:
plegall
2020-09-28 12:55:19 +02:00
parent 494d99598d
commit 83242047f1
5 changed files with 13 additions and 493 deletions
+7 -12
View File
@@ -1,10 +1,10 @@
<?php
// +-----------------------------------------------------------------------+
// | This file is part of Piwigo. |
// | |
// | For copyright and license information, please view the COPYING.txt |
// | file that was distributed with this source code. |
// +-----------------------------------------------------------------------+
<?php
// +-----------------------------------------------------------------------+
// | This file is part of Piwigo. |
// | |
// | For copyright and license information, please view the COPYING.txt |
// | file that was distributed with this source code. |
// +-----------------------------------------------------------------------+
if( !defined("PHPWG_ROOT_PATH") )
{
@@ -86,11 +86,6 @@ if ($step == 2 and is_webmaster())
// +-----------------------------------------------------------------------+
if ($step == 3 and is_webmaster())
{
if (isset($_POST['dumpDatabase']))
{
updates::dump_database(isset($_POST['includeHistory']));
}
if (isset($_POST['submit']) and isset($_POST['upgrade_to']))
{
updates::upgrade_to($_POST['upgrade_to'], $step);