Add repeated attr to Atom notices_info element

This commit is contained in:
Zach Copley 2010-06-03 22:24:55 +00:00
parent 22d6ff25b5
commit 1a44d4272f
1 changed files with 2 additions and 0 deletions

View File

@ -1252,6 +1252,8 @@ class Notice extends Memcached_DataObject
if (!empty($cur)) {
$noticeInfoAttr['favorite'] = ($cur->hasFave($this)) ? "true" : "false";
$profile = $cur->getProfile();
$noticeInfoAttr['repeated'] = ($profile->hasRepeated($this->id)) ? "true" : "false";
}
if (!empty($this->repeat_of)) {