add inboxes for new users

darcs-hash:20081116062937-84dde-2c2369d0513dba49514a6800f67324803d0fe335.gz
This commit is contained in:
Evan Prodromou 2008-11-16 01:29:37 -05:00
parent 0275676931
commit 16e3fcf2c2

View File

@ -196,6 +196,12 @@ class User extends Memcached_DataObject
}
}
$inboxes = common_config('inboxes', 'enabled');
if ($inboxes === true || $inboxes == 'transitional') {
$user->inboxed = 1;
}
$user->created = common_sql_now();
$user->uri = common_user_uri($user);