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
+2 -4
View File
@@ -3,10 +3,8 @@
/* Generic exception class
*/
if (!class_exists('OAuthException')) {
class OAuthException extends Exception {
// pass
}
class OAuthException extends Exception {
// pass
}
class OAuthConsumer {