mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Rephrased Dump Tables to Drop Tables to make it more explicit all data
will be lost.
This commit is contained in:
parent
e87f7c7717
commit
d1ac48253e
@ -24,11 +24,11 @@
|
|||||||
include($phpgw_info["server"]["api_dir"] . "/phpgw_db_".$phpgw_info["server"]["db_type"].".inc.php");
|
include($phpgw_info["server"]["api_dir"] . "/phpgw_db_".$phpgw_info["server"]["db_type"].".inc.php");
|
||||||
|
|
||||||
$db = new db;
|
$db = new db;
|
||||||
$db->Host = $phpgw_info["server"]["db_host"];
|
$db->Host = $phpgw_info["server"]["db_host"];
|
||||||
$db->Type = $phpgw_info["server"]["db_type"];
|
$db->Type = $phpgw_info["server"]["db_type"];
|
||||||
$db->Database = $phpgw_info["server"]["db_name"];
|
$db->Database = $phpgw_info["server"]["db_name"];
|
||||||
$db->User = $phpgw_info["server"]["db_user"];
|
$db->User = $phpgw_info["server"]["db_user"];
|
||||||
$db->Password = $phpgw_info["server"]["db_pass"];
|
$db->Password = $phpgw_info["server"]["db_pass"];
|
||||||
// $db->Halt_On_Error = "report";
|
// $db->Halt_On_Error = "report";
|
||||||
$db->Halt_On_Error = "no";
|
$db->Halt_On_Error = "no";
|
||||||
|
|
||||||
@ -73,7 +73,7 @@
|
|||||||
echo " <input type=\"hidden\" name=\"oldversion\" value=\"".$oldversion."\">\n";
|
echo " <input type=\"hidden\" name=\"oldversion\" value=\"".$oldversion."\">\n";
|
||||||
echo " <input type=\"hidden\" name=\"useglobalconfigsettings\">\n";
|
echo " <input type=\"hidden\" name=\"useglobalconfigsettings\">\n";
|
||||||
echo " <input type=\"submit\" name=\"action\" value=\"Upgrade\">\n";
|
echo " <input type=\"submit\" name=\"action\" value=\"Upgrade\">\n";
|
||||||
echo " <input type=\"submit\" name=\"action\" value=\"Dump my old tables\">\n";
|
echo " <input type=\"submit\" name=\"action\" value=\"Drop my old tables\">\n";
|
||||||
echo " </form>\n";
|
echo " </form>\n";
|
||||||
echo " <form method=\"POST\" action=\"config.php\">\n";
|
echo " <form method=\"POST\" action=\"config.php\">\n";
|
||||||
echo " <input type=\"submit\" name=\"action\" value=\"Dont touch my data\">\n";
|
echo " <input type=\"submit\" name=\"action\" value=\"Dont touch my data\">\n";
|
||||||
@ -127,13 +127,13 @@
|
|||||||
<td colspan="2" align="center"><input type="submit" name="action" value="Upgrade"></td>
|
<td colspan="2" align="center"><input type="submit" name="action" value="Upgrade"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" align="center"><input type="submit" name="action" value="Dump my old tables"></td>
|
<td colspan="2" align="center"><input type="submit" name="action" value="Drop my old tables"></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
break;
|
break;
|
||||||
case "Dump my old tables":
|
case "Drop my old tables":
|
||||||
echo "<html><head><title>phpGroupWare Setup</title></head>\n";
|
echo "<html><head><title>phpGroupWare Setup</title></head>\n";
|
||||||
echo "<body bgcolor='#ffffff'>\n";
|
echo "<body bgcolor='#ffffff'>\n";
|
||||||
echo "<table border=\"0\" align=\"center\">\n";
|
echo "<table border=\"0\" align=\"center\">\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user