forked from GNUsocial/gnu-social
check that services are null in yadis check
darcs-hash:20080530175055-84dde-f0e231b4efc30a59d6111b749eb8340116be9f92.gz
This commit is contained in:
parent
1eb8a82abd
commit
5e61931a2d
@ -114,6 +114,10 @@ class RemotesubscribeAction extends Action {
|
||||
OAUTH_ENDPOINT_ACCESS);
|
||||
$omb = array();
|
||||
$services = $yadis->services(); # ordered by priority
|
||||
if (!$services) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
foreach ($services as $service) {
|
||||
$types = $service->matchTypes($endpoints);
|
||||
foreach ($types as $type) {
|
||||
|
Loading…
Reference in New Issue
Block a user