Commit eb29c782 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) remove isAjax function

parent 8cccf2e8
......@@ -1231,18 +1231,6 @@ function unmute_kernel_msgs()
exec('/sbin/conscontrol mute off');
}
/****f* util/isAjax
* NAME
* isAjax - reports if the request is driven from prototype
* INPUTS
* none
* RESULT
* true/false
******/
function isAjax() {
return isset ($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest';
}
/****f* util/msort
* NAME
* msort - sort 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