cartodbclient-php icon indicating copy to clipboard operation
cartodbclient-php copied to clipboard

Check OAuthException exists before declaring

Open acouch opened this issue 10 years ago • 0 comments

A number of other libraries and code bases already declare an OAuthException exception class causing a Fatal error: Cannot redeclare class OAuthException notice.

PR #9 wraps it in a if (!class_exists('OAuthException')) to prevent the fatal error if it already has been declared.

acouch avatar Oct 08 '14 17:10 acouch