]> git.mxchange.org Git - friendica.git/commitdiff
Remove conditional declaration of OAuthException
authorHypolite Petovan <mrpetovan@gmail.com>
Fri, 2 Feb 2018 13:08:07 +0000 (08:08 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Fri, 2 Feb 2018 13:08:07 +0000 (08:08 -0500)
library/OAuth1.php

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