Commit 0cf7517a authored by Ad Schellevis's avatar Ad Schellevis

(legacy) remove unused delete message

parent 100ab6d5
......@@ -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&amp;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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment