From: Evan Prodromou Date: Sun, 16 Nov 2008 06:29:37 +0000 (-0500) Subject: add inboxes for new users X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=16e3fcf2c2da7ef78b9fd802986f6df84f9201d8;p=quix0rs-gnu-social.git add inboxes for new users darcs-hash:20081116062937-84dde-2c2369d0513dba49514a6800f67324803d0fe335.gz --- diff --git a/classes/User.php b/classes/User.php index fa1ecdfa0f..38a56d1c81 100644 --- a/classes/User.php +++ b/classes/User.php @@ -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);