Removed unused code which generates PHP warnings
Merge pull request #740 from bobvandevijver/master

Removed unused code which generates PHP warnings