summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-06-23 13:51:23 -0700
committerZach Copley <zach@controlyourself.ca>2009-06-23 13:51:23 -0700
commit31325f0995bb61413b07f166d253b13fb27d085d (patch)
tree1ae7cdadfcdbf5b76e08db0a5a8df3cd4cb4e25f /classes/User.php
parentd9bebfd6512353690be8bf8cc596a0656ef48ae9 (diff)
Stop Twitter gateway notices from leaking via user faves pages
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/User.php b/classes/User.php
index e8c8c5a75..a01a3106f 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -424,9 +424,9 @@ class User extends Memcached_DataObject
}
}
- function favoriteNotices($offset=0, $limit=NOTICES_PER_PAGE)
+ function favoriteNotices($offset=0, $limit=NOTICES_PER_PAGE, $own=false)
{
- $ids = Fave::stream($this->id, $offset, $limit);
+ $ids = Fave::stream($this->id, $offset, $limit, $own);
return Notice::getStreamByIds($ids);
}