1
0
Fork 0
mirror of https://git.friendi.ca/friendica/friendica.git synced 2025-07-13 05:48:51 +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:
Carsten Pfeiffer 2013-04-27 21:08:45 +02:00
parent f84c57e7f2
commit 7e5ec9fceb

View file

@ -3,9 +3,11 @@
/* Generic exception class /* Generic exception class
*/ */
if (!class_exists('OAuthException')) {
class OAuthException extends Exception { class OAuthException extends Exception {
// pass // pass
} }
}
class OAuthConsumer { class OAuthConsumer {
public $key; public $key;