mirror of
https://github.com/friendica/friendica
synced 2024-11-10 04:22:54 +00:00
Wrap class OAuthException with !class_exists
Same problem and solution as discussed on https://drupal.org/node/1334528
This commit is contained in:
parent
f84c57e7f2
commit
7e5ec9fceb
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')) {
|
||||||
|
class OAuthException extends Exception {
|
||||||
// pass
|
// pass
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class OAuthConsumer {
|
class OAuthConsumer {
|
||||||
|
|
Loading…
Reference in a new issue