Browse Source

Protect OAuthException declaration to avoid conflict with php-pecl-oauth

pull/6188/head
Hypolite Petovan 3 years ago
parent
commit
6fd294aac5
  1. 6
      library/OAuth1.php

6
library/OAuth1.php

@ -3,8 +3,10 @@
/* Generic exception class
*/
class OAuthException extends Exception {
// pass
if (!class_exists('OAuthException', false)) {
class OAuthException extends Exception {
// pass
}
}
class OAuthConsumer {

Loading…
Cancel
Save