Test for already defined OAuth exception class

This commit is contained in:
Jeremy Malcolm 2014-09-28 22:17:11 +01:00
parent c2998e26ec
commit 0a96fb1c2f

View File

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