remove unneeded globals.php require from api.inc library