summaryrefslogtreecommitdiff
path: root/classes/User.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@csarven-laptop.(none)>2009-05-18 19:47:38 -0400
committerSarven Capadisli <csarven@csarven-laptop.(none)>2009-05-18 19:47:38 -0400
commit8fce42160738aab1b58755b36136cd9a968b3d27 (patch)
treee4712ce3fd5a51084a06435587d8e7c97e45df6d /classes/User.php
parent0c28fdda62676bea352b58f05f66d83a92353a14 (diff)
parentda74a29e0385042e974dbe50c03acd160f982e18 (diff)
Merge branch '0.8.x' of git://gitorious.org/laconica/dev into 0.8.x
Diffstat (limited to 'classes/User.php')
-rw-r--r--classes/User.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/classes/User.php b/classes/User.php
index b5ac7b220..ea8ba4081 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -407,13 +407,22 @@ class User extends Memcached_DataObject
return Notice::getStreamByIds($ids);
}
+ function getTaggedNotices($tag, $offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0, $since=null) {
+ $profile = $this->getProfile();
+ if (!$profile) {
+ return null;
+ } else {
+ return $profile->getTaggedNotices($tag, $offset, $limit, $since_id, $before_id, $since);
+ }
+ }
+
function getNotices($offset=0, $limit=NOTICES_PER_PAGE, $since_id=0, $before_id=0, $since=null)
{
$profile = $this->getProfile();
if (!$profile) {
return null;
} else {
- return $profile->getNotices($offset, $limit, $since_id, $before_id);
+ return $profile->getNotices($offset, $limit, $since_id, $before_id, $since);
}
}