/**
* Table Definition for user_openid_trustroot
*/
-require_once INSTALLDIR.'/classes/Memcached_DataObject.php';
+
+if (!defined('STATUSNET')) {
+ exit(1);
+}
class User_openid_trustroot extends Memcached_DataObject
{
function keys()
{
- return array('trustroot' => 'K', 'user_id' => 'K');
+ return array_keys($this->keyTypes());
}
+ function keyTypes()
+ {
+ return array('trustroot' => 'K', 'user_id' => 'K');
+ }
}