From 16e3fcf2c2da7ef78b9fd802986f6df84f9201d8 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 16 Nov 2008 01:29:37 -0500 Subject: [PATCH] add inboxes for new users darcs-hash:20081116062937-84dde-2c2369d0513dba49514a6800f67324803d0fe335.gz --- classes/User.php | 6 ++++++ 1 file changed, 6 insertions(+) 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); -- 2.39.5