projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc25564
)
make ConversationNoticeStream accept a profile parameter
author
Evan Prodromou
<evan@status.net>
Fri, 8 Apr 2011 22:03:18 +0000
(18:03 -0400)
committer
Evan Prodromou
<evan@status.net>
Fri, 8 Apr 2011 22:03:18 +0000
(18:03 -0400)
lib/conversationnoticestream.php
patch
|
blob
|
history
diff --git
a/lib/conversationnoticestream.php
b/lib/conversationnoticestream.php
index 78ba3a372d0d06660b467b61e4d59c9d08cdda0f..56850fe98248dc03b1ed12704b7adb34ff970c61 100644
(file)
--- a/
lib/conversationnoticestream.php
+++ b/
lib/conversationnoticestream.php
@@
-46,10
+46,11
@@
if (!defined('STATUSNET')) {
*/
class ConversationNoticeStream extends ScopingNoticeStream
{
- function __construct($id)
+ function __construct($id
, $profile = null
)
{
parent::__construct(new CachingNoticeStream(new RawConversationNoticeStream($id),
- 'notice:conversation_ids:'.$id));
+ 'notice:conversation_ids:'.$id),
+ $profile);
}
}
@@
-98,9
+99,6
@@
class RawConversationNoticeStream extends NoticeStream
}
}
- $notice->free();
- $notice = NULL;
-
return $ids;
}
}
\ No newline at end of file