diff -r bd595ad770fc -r 1c2f13fd785c web/enmi/Zend/Oauth.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/enmi/Zend/Oauth.php Thu Jan 20 19:30:54 2011 +0100 @@ -0,0 +1,89 @@ +setHeaders('Authorization', null); + self::$httpClient->resetParameters(); + } + return self::$httpClient; + } + + /** + * Simple mechanism to delete the entire singleton HTTP Client instance + * which forces an new instantiation for subsequent requests. + * + * @return void + */ + public static function clearHttpClient() + { + self::$httpClient = null; + } +}