Commit 355c37bc authored by mmn's avatar mmn

Revert "Better ID for notice activity"

This reverts commit 8cc4660b.

This seems like something Evan only did to make import notices easier,
or maybe he just wanted to get rid of the URLs?
parent f4c0cff0
......@@ -1508,8 +1508,9 @@ class Notice extends Managed_DataObject
if (Event::handle('StartNoticeAsActivity', array($this, &$act))) {
$act->id = TagURI::mint("post:".$this->id);
$act->id = $this->uri;
$act->time = strtotime($this->created);
$act->link = $this->bestUrl();
$act->content = common_xml_safe_str($this->rendered);
$profile = $this->getProfile();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment