Wrap class OAuthException with !class_exists

Same problem and solution as discussed on
https://drupal.org/node/1334528
2022.09-rc
Carsten Pfeiffer 2013-04-27 21:08:45 +02:00
rodzic f84c57e7f2
commit 7e5ec9fceb
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

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