Skip to content

Commit a139eff

Browse files
author
davydov
committed
remove ajax response acym
1 parent e47ffda commit a139eff

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

antispambycleantalk.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,12 +1025,6 @@ public function onAfterRoute()
10251025
print "<script>var obj = { type : 'baform', msg : document.getElementById('form-sys-mesage').value }; window.parent.postMessage(obj, '*');</script>";
10261026
die();
10271027
}
1028-
elseif ($app->input->get('option') == 'com_acym' && isset($_POST['ajax']) && $_POST['ajax'] == 1)
1029-
{
1030-
$result=Array('code'=>1, 'message'=>$ctResponse['comment'],'type'=>'error');
1031-
print json_encode($result);
1032-
die();
1033-
}
10341028
else {
10351029
$error_tpl=file_get_contents(dirname(__FILE__)."/error.html");
10361030
print str_replace('%ERROR_TEXT%',$ctResponse['comment'],$error_tpl);

0 commit comments

Comments
 (0)