X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FAuthentication%2FUser_username.php;h=853fd5cb86a109f28a69569c293d78d0837fcc2a;hb=b5e0f7d5725d4e106cf9f4b6383e0477a597fac6;hp=f30f60d839a6462bd706d49c1548188e827ba9ae;hpb=5494eb61465595466b897fdd88efda250c1107e2;p=quix0rs-gnu-social.git diff --git a/plugins/Authentication/User_username.php b/plugins/Authentication/User_username.php index f30f60d839..853fd5cb86 100644 --- a/plugins/Authentication/User_username.php +++ b/plugins/Authentication/User_username.php @@ -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'); + } + }