Update Controller.php

removed unnecessary code.