summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-01-13 18:17:36 +0000
committerBrion Vibber <brion@pobox.com>2010-01-13 18:17:36 +0000
commit0e1f2d4b47e5e340679c4245b62e1d64c6b9c9b9 (patch)
tree2b3c04fb0a0158fc63acc7896192cc7ddedfd7de /classes
parentd84c33c3282523ea3553fa36ccd2aef39e4dcbad (diff)
Fix regressions in XMPP output during inbox refactoring
- NOTICE_INBOX_SOURCE_* constants moved to common.php since Notice_inbox.php not always loaded - fixed typo in User::staticGet() call which caused user #1 to receive messages once for each subscriber instead of for him/herself - 'continue' -> 'continue 2' inside switch() statement to fix loop escape (PHP considers switch() a looping construct for break & continue)
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice_inbox.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/classes/Notice_inbox.php b/classes/Notice_inbox.php
index 6c328e685..c27dcdfd6 100644
--- a/classes/Notice_inbox.php
+++ b/classes/Notice_inbox.php
@@ -31,12 +31,6 @@ define('NOTICE_INBOX_GC_MAX', 12800);
define('NOTICE_INBOX_LIMIT', 1000);
define('NOTICE_INBOX_SOFT_LIMIT', 1000);
-define('NOTICE_INBOX_SOURCE_SUB', 1);
-define('NOTICE_INBOX_SOURCE_GROUP', 2);
-define('NOTICE_INBOX_SOURCE_REPLY', 3);
-define('NOTICE_INBOX_SOURCE_FORWARD', 4);
-define('NOTICE_INBOX_SOURCE_GATEWAY', -1);
-
class Notice_inbox extends Memcached_DataObject
{
###START_AUTOCODE