forked from GNUsocial/gnu-social
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
This commit is contained in:
commit
f3628afa00
@ -43,4 +43,19 @@ class User_username extends Memcached_DataObject
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function table() {
|
||||
return array(
|
||||
'user_id' => DB_DATAOBJECT_INT,
|
||||
'username' => DB_DATAOBJECT_STR,
|
||||
'provider_name' => DB_DATAOBJECT_STR ,
|
||||
'created' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME
|
||||
);
|
||||
}
|
||||
|
||||
// now define the keys.
|
||||
function keys() {
|
||||
return array('provider_name', 'username');
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user