mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 10:42:59 +02:00
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:
+7
-12
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user