Keep the getShortUrl method
Fixed parse error in php-5.3