Fix #1093 Unnecessary code in xmlhttp.php

Fix #1093 Unnecessary code in xmlhttp.php