Protect OAuthException declaration to avoid conflict with php-pecl-oauth
This commit is contained in:
parent
540321d0aa
commit
6fd294aac5
|
@ -3,9 +3,11 @@
|
||||||
|
|
||||||
/* Generic exception class
|
/* Generic exception class
|
||||||
*/
|
*/
|
||||||
|
if (!class_exists('OAuthException', false)) {
|
||||||
class OAuthException extends Exception {
|
class OAuthException extends Exception {
|
||||||
// pass
|
// pass
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
class OAuthConsumer {
|
class OAuthConsumer {
|
||||||
public $key;
|
public $key;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user