summaryrefslogtreecommitdiff
path: root/plugins/OpenID/User_openid.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-03-12 10:07:32 -0800
committerBrion Vibber <brion@pobox.com>2010-03-12 10:07:32 -0800
commit4d7479dcbc3d0f658de230c139242e7176d0ba16 (patch)
tree4672690b213f3a3679b97c6b25011f848d37bb81 /plugins/OpenID/User_openid.php
parentf72eb17304af9c2d7dac8a34b07bd2433b79c8c4 (diff)
OpenID fixes:
- avoid notice spew when checking sreg items that weren't provided - fix keys spec for user_openid, clears up problems with removing openid associations - fix keys spec for user_openid_trustroot
Diffstat (limited to 'plugins/OpenID/User_openid.php')
-rw-r--r--plugins/OpenID/User_openid.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/OpenID/User_openid.php b/plugins/OpenID/User_openid.php
index 5ef05b4c7..1beff9ea3 100644
--- a/plugins/OpenID/User_openid.php
+++ b/plugins/OpenID/User_openid.php
@@ -45,6 +45,11 @@ class User_openid extends Memcached_DataObject
*/
function keys()
{
+ return array_keys($this->keyTypes());
+ }
+
+ function keyTypes()
+ {
return array('canonical' => 'K', 'display' => 'U', 'user_id' => 'U');
}