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

This commit is contained in:
Hypolite Petovan 2018-11-22 22:21:57 -05:00
父節點 540321d0aa
當前提交 6fd294aac5
共有 1 個檔案被更改,包括 4 行新增2 行删除

查看文件

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