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

Bu işleme şunda yer alıyor:
Hypolite Petovan 2018-11-22 22:21:57 -05:00
ebeveyn 540321d0aa
işleme 6fd294aac5
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme

Dosyayı Görüntüle

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