IN/OUT administrator  'merge anibal:angel' - ref BT#8566

Commits merges (angel, anibal)
This is wrong at many levels.
1st it generates useless code duplication by reproducing a function that already exists somewhere else (in 3 different places just in this directory). 
2nd, there is now a main/inc/ajax/ folder where we are supposed to collect (and keep) all AJAX functions. 
3rd, although it is copied, it hasn't been refreshed to respect the new coding conventions.
4th, it continues relying on the XAJAX library that we are abandoning progressively.
There are probably more, but the short solution is simply to erase the function from there, make sure there is an equivalente in main/inc/ajax/ and use it.