Removed event sql from index.php