mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
(legacy) remove unused delete message
This commit is contained in:
parent
100ab6d560
commit
0cf7517a73
@ -137,7 +137,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
}
|
||||
unset($a_client[$id]);
|
||||
write_config();
|
||||
$savemsg = gettext("Client successfully deleted")."<br />";
|
||||
} else {
|
||||
// update client (after validation)
|
||||
$pconfig = $_POST;
|
||||
@ -1072,7 +1071,6 @@ else :
|
||||
<td valign="middle" class="list nowrap">
|
||||
<a href="vpn_openvpn_client.php?act=edit&id=<?=$i;?>" class="btn btn-default btn-xs"><span class="glyphicon glyphicon-pencil"></span></a>
|
||||
<a id="del_<?=$i;?>" title="<?=gettext("delete client"); ?>" class="act_delete btn btn-default btn-xs"><span class="glyphicon glyphicon-remove"></span></a>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
@ -142,7 +142,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
}
|
||||
unset($a_server[$id]);
|
||||
write_config();
|
||||
$savemsg = gettext("Server successfully deleted")."<br />";
|
||||
} else {
|
||||
// action add/update
|
||||
$input_errors = array();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user