Removed unused code to fix a PHP warning
Fixed a PHP warning