Clean Unused Code and Whitespace

Cleaned unused code and whitespace from portfolder.php