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,9 +3,11 @@
|
||||||
|
|
||||||
/* Generic exception class
|
/* Generic exception class
|
||||||
*/
|
*/
|
||||||
|
if (!class_exists('OAuthException')) {
|
||||||
class OAuthException extends Exception {
|
class OAuthException extends Exception {
|
||||||
// pass
|
// pass
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
class OAuthConsumer {
|
class OAuthConsumer {
|
||||||
public $key;
|
public $key;
|
||||||
|
|
Loading…
Reference in a new issue