mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Protect OAuthException declaration to avoid conflict with php-pecl-oauth
This commit is contained in:
parent
540321d0aa
commit
6fd294aac5
1 changed files with 4 additions and 2 deletions
|
@ -3,9 +3,11 @@
|
|||
|
||||
/* Generic exception class
|
||||
*/
|
||||
if (!class_exists('OAuthException', false)) {
|
||||
class OAuthException extends Exception {
|
||||
// pass
|
||||
}
|
||||
}
|
||||
|
||||
class OAuthConsumer {
|
||||
public $key;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue