From a578bfc03d44f80e99c8fcd8fbbd831a027d7ea9 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 6 Jun 2008 12:26:59 -0400 Subject: [PATCH] push yadis requirement into omb.php darcs-hash:20080606162659-84dde-fd7d5e030aa6aeebf61d0ea7b143aa7cafce7c45.gz --- actions/finishremotesubscribe.php | 1 - actions/postnotice.php | 1 - actions/remotesubscribe.php | 1 - lib/omb.php | 2 ++ 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/actions/finishremotesubscribe.php b/actions/finishremotesubscribe.php index eb105c1e73..aca5f04fed 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 5b275e2d63..cf9a3f3a0f 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 214bd863a6..64299e27a2 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 89d0afa9eb..2cbd09ea5c 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');