summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-23 14:22:22 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-07-23 14:22:22 -0700
commit5f7fb994471e4326f6aea5e29157a6236de4001f (patch)
tree8b0a4e22e150646ebfaff85baea2471ce5a484e4 /classes/User.php
parent6467351e32d2fa3a838556725fbdaccfa907969d (diff)
change NOTICE_GATEWAY to Notice::GATEWAY so autoloading works
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php2
1 files changed, 1 insertions, 1 deletions
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,