cartodbclient-php
cartodbclient-php copied to clipboard
Check OAuthException exists before declaring
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.