Fixed tmp folder issues
Removed obsolete code
Merge branch 'master' of github.com:WoltLab/WCF