Merge pull request #4379 from MrPetovan/bug/4377-already-declared-class-oauthconsumer

Remove conditional declaration of OAuthException
This commit is contained in:
Michael Vogel 2018-02-02 14:59:57 +01:00 committed by GitHub
commit aa0d548106
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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