Skip to content

Commit

Permalink
Fix "Cannot redeclare class OAuthException" fatal error
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Jennings authored and ginatrapani committed Nov 30, 2011
1 parent c6bc150 commit 13fee75
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions webapp/plugins/twitter/extlib/twitteroauth/OAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@

/* Generic exception class
*/
class OAuthException extends Exception {
// pass
if (!class_exists('OAuthException')) {
class OAuthException extends Exception {
// pass
}
}

class OAuthConsumer {
Expand Down

0 comments on commit 13fee75

Please sign in to comment.