From 31829840802dd8433fdb278c8b014c45c7ef39c8 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 3 Jun 2008 07:43:17 -0400 Subject: fix service discovery (I think) darcs-hash:20080603114317-84dde-04fe2734003fa8023708b6dbda6243d9fd15e9d8.gz --- lib/omb.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/omb.php b/lib/omb.php index 9d4a327a9..c75fb7903 100644 --- a/lib/omb.php +++ b/lib/omb.php @@ -66,6 +66,10 @@ function omb_hmac_sha1() { return $hmac_method; } +function omb_get_services($xrd, $type) { + return $xrd->services(array(omb_service_filter($type))); +} + function omb_service_filter($type) { return create_function('$s', 'return omb_match_service($s, \''.$type.'\');'); -- cgit v1.2.3-54-g00ecf