From 5f7fb994471e4326f6aea5e29157a6236de4001f Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 23 Jul 2009 14:22:22 -0700 Subject: change NOTICE_GATEWAY to Notice::GATEWAY so autoloading works --- classes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/User.php') diff --git a/classes/User.php b/classes/User.php index 6c1f149e4..bea47a3b0 100644 --- a/classes/User.php +++ b/classes/User.php @@ -443,7 +443,7 @@ class User extends Memcached_DataObject 'SELECT notice.* ' . 'FROM notice JOIN subscription ON notice.profile_id = subscription.subscribed ' . 'WHERE subscription.subscriber = %d ' . - 'AND notice.is_local != ' . NOTICE_GATEWAY; + 'AND notice.is_local != ' . Notice::GATEWAY; return Notice::getStream(sprintf($qry, $this->id), 'user:notices_with_friends:' . $this->id, $offset, $limit, $since_id, $before_id, -- cgit v1.2.3-54-g00ecf