diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-06-06 12:26:59 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-06-06 12:26:59 -0400 |
commit | a578bfc03d44f80e99c8fcd8fbbd831a027d7ea9 (patch) | |
tree | 2b35f7c616ccbdf21f4de60b5c1ae94af9c4ea74 | |
parent | 8ddb25e1a71b219e06120713be4adc50639202d0 (diff) |
push yadis requirement into omb.php
darcs-hash:20080606162659-84dde-fd7d5e030aa6aeebf61d0ea7b143aa7cafce7c45.gz
-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'); |