diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-05-30 04:40:47 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-05-30 04:40:47 -0400 |
commit | 76ee1fd5daa6ab1999224d8e93df1b7116f24c36 (patch) | |
tree | 34a952af81f736f7dff012b60050eb84aa57013f /lib | |
parent | 45c58c74d4d2c2c0a886ff7816f27aa9c6033652 (diff) |
Removing inbox and memcached daemon handling
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util.php | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/lib/util.php b/lib/util.php index 214c33279..22308f432 100644 --- a/lib/util.php +++ b/lib/util.php @@ -884,16 +884,12 @@ function common_enqueue_notice($notice) // If inboxes are enabled, wait till inboxes are filled // before doing inbox-dependent broadcasts - if (common_config('inboxes', 'enabled') === true || - common_config('inboxes', 'enabled') === 'transitional') { - $transports[] = 'inbox'; - } else { - $transports = array_merge($transports, common_post_inbox_transports()); - } + $transports = array_merge($transports, common_post_inbox_transports()); foreach ($transports as $transport) { common_enqueue_notice_transport($notice, $transport); } + return $result; } @@ -905,11 +901,6 @@ function common_post_inbox_transports() $transports = array_merge($transports, array('jabber', 'public')); } - if (common_config('memcached', 'enabled')) { - // Note: limited to 8 chars - $transports[] = 'memcache'; - } - return $transports; } |