Merge pull request #671 from cpfeiffer/OAuthException
Wrap class OAuthException with !class_exists
This commit is contained in:
commit
dd52acebba
1 changed files with 4 additions and 2 deletions
|
@ -3,8 +3,10 @@
|
|||
|
||||
/* Generic exception class
|
||||
*/
|
||||
class OAuthException extends Exception {
|
||||
if (!class_exists('OAuthException')) {
|
||||
class OAuthException extends Exception {
|
||||
// pass
|
||||
}
|
||||
}
|
||||
|
||||
class OAuthConsumer {
|
||||
|
|
Loading…
Reference in a new issue