Removed some PHP code no longer needed on admin pages
as we are now using ajax to load the content