summaryrefslogtreecommitdiff
path: root/actions/remotesubscribe.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-02 13:59:36 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-02 13:59:36 -0400
commit3abe0290b7a2ff446e007089757ad93b1f50c289 (patch)
tree7468150f4ddb562494a0e01f29869d7fee56d615 /actions/remotesubscribe.php
parent326def19652fc6946a53989f80dd88be940d0f8e (diff)
use omb_service_filter() rather than omb_match_service()
darcs-hash:20080602175936-84dde-d21c8236ef5ffd788edc81d9d7a932b2eae0ec7d.gz
Diffstat (limited to 'actions/remotesubscribe.php')
-rw-r--r--actions/remotesubscribe.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/remotesubscribe.php b/actions/remotesubscribe.php
index d3420f888..c2c633c16 100644
--- a/actions/remotesubscribe.php
+++ b/actions/remotesubscribe.php
@@ -129,7 +129,7 @@ class RemotesubscribeAction extends Action {
# XXX: the following code could probably be refactored to eliminate dupes
- $oauth_service = $xrds->services(omb_match_service(OAUTH_DISCOVERY));
+ $oauth_service = $xrds->services(omb_service_filter(OAUTH_DISCOVERY));
if (!$oauth_service) {
return NULL;
@@ -138,7 +138,7 @@ class RemotesubscribeAction extends Action {
$xrd = $this->getXRD($oauth_service, $xrds);
$this->addServices($xrd, $oauth_endpoints, $omb);
- $omb_service = $xrds->services(omb_match_service(OMB_NAMESPACE));
+ $omb_service = $xrds->services(omb_service_filter(OMB_NAMESPACE));
if (!$omb_service) {
return NULL;
@@ -183,7 +183,7 @@ class RemotesubscribeAction extends Action {
function addServices($xrd, $types, &$omb) {
foreach ($types as $type) {
- $matches = $xrd->services(omb_match_service($type));
+ $matches = $xrd->services(omb_service_filter($type));
if ($matches) {
$omb[$type] = $services[0];
} else {