removed obsolete code from index.php

Signed-off-by: Jukka Laukkanen <jukkalau@gmail.com>