Merge pull request #6188 from MrPetovan/bug/5928-protect-oauthexception
Protect OAuthException declaration to avoid conflict with php-pecl-oauth
This commit is contained in:
commit
52b342a90c
1 changed files with 4 additions and 2 deletions
|
@ -3,8 +3,10 @@
|
||||||
|
|
||||||
/* Generic exception class
|
/* Generic exception class
|
||||||
*/
|
*/
|
||||||
class OAuthException extends Exception {
|
if (!class_exists('OAuthException', false)) {
|
||||||
// pass
|
class OAuthException extends Exception {
|
||||||
|
// pass
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class OAuthConsumer {
|
class OAuthConsumer {
|
||||||
|
|
Loading…
Reference in a new issue