Update TimeController.class.php

code cleanup