aboutsummaryrefslogtreecommitdiff
path: root/openid_server_include.php
diff options
context:
space:
mode:
authorPablo Martin <caedes@sindominio.net>2012-10-23 05:17:29 +0000
committerroot <root@migration.vz.lan>2012-10-23 05:19:07 +0000
commit084db9e6b9fc402e5643efda4dc076099921b16b (patch)
treef8deab2a24e620c4442afa078541f25a782d1755 /openid_server_include.php
parentc4d09e9ca9d038fd260fe727a15531582929d3c0 (diff)
downloadelgg-084db9e6b9fc402e5643efda4dc076099921b16b.tar.gz
elgg-084db9e6b9fc402e5643efda4dc076099921b16b.tar.bz2
fix syntax.
Diffstat (limited to 'openid_server_include.php')
-rwxr-xr-xopenid_server_include.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/openid_server_include.php b/openid_server_include.php
index 7ac44c469..ae3227659 100755
--- a/openid_server_include.php
+++ b/openid_server_include.php
@@ -62,7 +62,7 @@ class OpenIDServer_ElggStore extends Auth_OpenID_OpenIDStore {
'server_url' => $server_url,
'handle' => $handle
);
- $assocs = elgg_get_entities_from_metadata(array('metadata_name_value_pairs' => $meta_array), 'types' => 'object', 'subtypes' => 'openid_client::association', 'metadata_name_value_pairs_operator' => 'and');
+ $assocs = elgg_get_entities_from_metadata(array('metadata_name_value_pairs' => $meta_array, 'types' => 'object', 'subtypes' => 'openid_client::association', 'metadata_name_value_pairs_operator' => 'and'));
} else {
$assocs = elgg_get_entities_from_metadata(array('metadata_names' => 'server_url', 'metadata_values' => $server_url, 'types' => 'object', 'subtypes' => 'openid_client::association', 'metadata_case_sensitive' => FALSE));
}
@@ -113,7 +113,7 @@ class OpenIDServer_ElggStore extends Auth_OpenID_OpenIDStore {
'server_url' => $server_url,
'handle' => $handle
);
- $entities = elgg_get_entities_from_metadata(array('metadata_name_value_pairs' => $meta_array), 'types' => 'object', 'subtypes' => 'openid_client::association', 'metadata_name_value_pairs_operator' => 'and');
+ $entities = elgg_get_entities_from_metadata(array('metadata_name_value_pairs' => $meta_array, 'types' => 'object', 'subtypes' => 'openid_client::association', 'metadata_name_value_pairs_operator' => 'and'));
} else {
$entities = elgg_get_entities_from_metadata(array('metadata_names' => 'server_url', 'metadata_values' => $server_url, 'types' => 'object', 'subtypes' => 'openid_client::association', 'metadata_case_sensitive' => FALSE));
}
@@ -169,7 +169,7 @@ class OpenIDServer_ElggStore extends Auth_OpenID_OpenIDStore {
'salt' => $salt
);
- $entities = elgg_get_entities_from_metadata(array('metadata_name_value_pairs' => $meta_array), 'types' => 'object', 'subtypes' => 'openid_client::nonce', 'metadata_name_value_pairs_operator' => 'and');
+ $entities = elgg_get_entities_from_metadata(array('metadata_name_value_pairs' => $meta_array, 'types' => 'object', 'subtypes' => 'openid_client::nonce', 'metadata_name_value_pairs_operator' => 'and'));
if ($entities) {
// bad - this nonce is already in use
@@ -295,7 +295,7 @@ class OpenIDServer_ElggStore extends Auth_OpenID_OpenIDStore {
'trust_root' => $trust_root
);
- $results = elgg_get_entities_from_metadata(array('metadata_name_value_pairs' => $meta_array), 'types' => 'object', 'subtypes' => 'openid_server::trust_root', 'metadata_name_value_pairs_operator' => 'and');
+ $results = elgg_get_entities_from_metadata(array('metadata_name_value_pairs' => $meta_array, 'types' => 'object', 'subtypes' => 'openid_server::trust_root', 'metadata_name_value_pairs_operator' => 'and'));
if ($results) {
foreach($results as $trust_root) {