diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-11-16 01:29:37 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-11-16 01:29:37 -0500 |
commit | 16e3fcf2c2da7ef78b9fd802986f6df84f9201d8 (patch) | |
tree | 602ceff7710964875334ec15946f9324faf24ee3 | |
parent | 0275676931883841bfdc7ffa8779e809f9d39fd3 (diff) |
add inboxes for new users
darcs-hash:20081116062937-84dde-2c2369d0513dba49514a6800f67324803d0fe335.gz
-rw-r--r-- | classes/User.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/User.php b/classes/User.php index fa1ecdfa0..38a56d1c8 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); |