Update listener.php

removed unnecessary code...