Revert "Added support for a CustomGlobals.php hook."

This reverts commit d14a6a7e4406ed77d1e0dbd190a9424a6caa591d.