diff options
-rw-r--r-- | actions/finishremotesubscribe.php | 1 | ||||
-rw-r--r-- | actions/postnotice.php | 1 | ||||
-rw-r--r-- | actions/remotesubscribe.php | 1 | ||||
-rw-r--r-- | lib/omb.php | 2 |
4 files changed, 2 insertions, 3 deletions
diff --git a/actions/finishremotesubscribe.php b/actions/finishremotesubscribe.php index eb105c1e7..aca5f04fe 100644 --- a/actions/finishremotesubscribe.php +++ b/actions/finishremotesubscribe.php @@ -20,7 +20,6 @@ if (!defined('LACONICA')) { exit(1); } require_once(INSTALLDIR.'/lib/omb.php'); -require_once('Auth/Yadis/Yadis.php'); class FinishremotesubscribeAction extends Action { diff --git a/actions/postnotice.php b/actions/postnotice.php index 5b275e2d6..cf9a3f3a0 100644 --- a/actions/postnotice.php +++ b/actions/postnotice.php @@ -20,7 +20,6 @@ if (!defined('LACONICA')) { exit(1); } require_once(INSTALLDIR.'/lib/omb.php'); -require_once('Auth/Yadis/Yadis.php'); class PostnoticeAction extends Action { function handle($args) { diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php index 214bd863a..64299e27a 100644 --- a/actions/remotesubscribe.php +++ b/actions/remotesubscribe.php @@ -20,7 +20,6 @@ if (!defined('LACONICA')) { exit(1); } require_once(INSTALLDIR.'/lib/omb.php'); -require_once('Auth/Yadis/Yadis.php'); class RemotesubscribeAction extends Action { diff --git a/lib/omb.php b/lib/omb.php index 89d0afa9e..2cbd09ea5 100644 --- a/lib/omb.php +++ b/lib/omb.php @@ -26,6 +26,8 @@ require_once(INSTALLDIR.'/classes/Consumer.php'); require_once(INSTALLDIR.'/classes/Nonce.php'); require_once(INSTALLDIR.'/classes/Token.php'); +require_once('Auth/Yadis/Yadis.php'); + define('OAUTH_NAMESPACE', 'http://oauth.net/core/1.0/'); define('OMB_NAMESPACE', 'http://openmicroblogging.org/protocol/0.1'); define('OMB_VERSION_01', 'http://openmicroblogging.org/protocol/0.1'); |