summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/User.php6
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);