removed useless switch statement
Merge branch 'master' of https://github.com/psmagicman/think-global-hack-local