Commit e259289f authored by Ad Schellevis's avatar Ad Schellevis

(legacy) remove isAjax()

parent b235235d
......@@ -88,12 +88,6 @@ if ($_POST) {
$input_errors[] = gettext("A valid RADIUS server address must be specified.");
}
/* if this is an AJAX caller then handle via JSON */
if (isAjax() && is_array($input_errors)) {
input_errors2Ajax($input_errors);
exit;
}
if (!$input_errors) {
$_POST['remoteip'] = $pconfig['remoteip'] = gen_subnet($_POST['remoteip'], $_POST['l2tp_subnet']);
$subnet_start = ip2ulong($_POST['remoteip']);
......
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