Browse Source

Wrap class OAuthException with !class_exists

Same problem and solution as discussed on
https://drupal.org/node/1334528
pull/671/head
Carsten Pfeiffer 8 years ago
parent
commit
7e5ec9fceb
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      library/OAuth1.php

+ 4
- 2
library/OAuth1.php View File

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


Loading…
Cancel
Save