summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index 12797891c..9b6d2941a 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -889,6 +889,10 @@ function common_enqueue_notice($notice)
$transports[] = 'memcached';
}
+ if (common_config('queues', 'enabled')) {
+ $transports[] = 'inbox';
+ }
+
foreach ($transports as $transport) {
$qi = new Queue_item();
$qi->notice_id = $notice->id;