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

Dieser Commit ist enthalten in:
Hypolite Petovan 2018-11-22 22:21:57 -05:00
Ursprung 540321d0aa
Commit 6fd294aac5
1 geänderte Dateien mit 4 neuen und 2 gelöschten Zeilen

Datei anzeigen

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