diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-01-28 12:27:05 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-01-28 12:27:05 -0500 |
commit | 11a7ca1c5c23af990422783b14d021a7c177032b (patch) | |
tree | 6fc2de6bb0d20b048a9f9a2e697850fd2b16143e /return.php | |
parent | 80ed1e24b59d62c411cb2bed5535d9e6fd9fcc9a (diff) | |
download | elgg-11a7ca1c5c23af990422783b14d021a7c177032b.tar.gz elgg-11a7ca1c5c23af990422783b14d021a7c177032b.tar.bz2 |
fixed bug where email wasn't being passed to register action - now using annotations instead of metadata to hold openid identifier
Diffstat (limited to 'return.php')
-rw-r--r-- | return.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/return.php b/return.php index dbc57d318..87ce5b19f 100644 --- a/return.php +++ b/return.php @@ -25,11 +25,10 @@ if (!$data || !$data['openid_identifier']) { }
// does this user exist
-$users = elgg_get_entities_from_metadata(array(
+$users = elgg_get_entities_from_annotations(array(
'type' => 'user',
- 'subtype' => 'openid',
- 'metadata_name' => 'openid_identifier',
- 'metadata_value' => $data['openid_identifier'],
+ 'annotation_name' => 'openid_identifier',
+ 'annotation_value' => $data['openid_identifier'],
));
if ($users) {
// log in user and maybe update account (admin setting, user prompt?)
|