Update core.php

removed commented code