Update twitter.class.php

Removed redundant code.