summaryrefslogtreecommitdiff
path: root/plugins/OpenID/User_openid_trustroot.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_trustroot.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_trustroot.php')
-rw-r--r--plugins/OpenID/User_openid_trustroot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/OpenID/User_openid_trustroot.php b/plugins/OpenID/User_openid_trustroot.php
index 0b411b8f7..17c03afb0 100644
--- a/plugins/OpenID/User_openid_trustroot.php
+++ b/plugins/OpenID/User_openid_trustroot.php
@@ -43,6 +43,11 @@ class User_openid_trustroot extends Memcached_DataObject
function keys()
{
+ return array_keys($this->keyTypes());
+ }
+
+ function keyTypes()
+ {
return array('trustroot' => 'K', 'user_id' => 'K');
}