From 654fdf2fa453fcb6be3df62622741e52eca4db7b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 25 Aug 2011 12:59:40 -0400 Subject: [PATCH] Don't try to read the URLs in system notices --- plugins/Activity/ActivityPlugin.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/Activity/ActivityPlugin.php b/plugins/Activity/ActivityPlugin.php index 92972ff173..cd47427e0a 100644 --- a/plugins/Activity/ActivityPlugin.php +++ b/plugins/Activity/ActivityPlugin.php @@ -99,6 +99,7 @@ class ActivityPlugin extends Plugin $content, ActivityPlugin::SOURCE, array('rendered' => $rendered, + 'urls' => array(), 'replies' => array($other->getUri()), 'verb' => ActivityVerb::FOLLOW, 'object_type' => ActivityObject::PERSON, @@ -133,6 +134,7 @@ class ActivityPlugin extends Plugin $content, ActivityPlugin::SOURCE, array('rendered' => $rendered, + 'urls' => array(), 'replies' => array($other->getUri()), 'uri' => $uri, 'verb' => ActivityVerb::UNFOLLOW, @@ -169,6 +171,7 @@ class ActivityPlugin extends Plugin $content, ActivityPlugin::SOURCE, array('rendered' => $rendered, + 'urls' => array(), 'replies' => array($author->getUri()), 'uri' => $fave->getURI(), 'verb' => ActivityVerb::FAVORITE, @@ -206,6 +209,7 @@ class ActivityPlugin extends Plugin $content, ActivityPlugin::SOURCE, array('rendered' => $rendered, + 'urls' => array(), 'replies' => array($author->getUri()), 'uri' => $uri, 'verb' => ActivityVerb::UNFAVORITE, @@ -244,6 +248,7 @@ class ActivityPlugin extends Plugin $content, ActivityPlugin::SOURCE, array('rendered' => $rendered, + 'urls' => array(), 'groups' => array($group->id), 'uri' => $mem->getURI(), 'verb' => ActivityVerb::JOIN, @@ -282,6 +287,7 @@ class ActivityPlugin extends Plugin $content, ActivityPlugin::SOURCE, array('rendered' => $rendered, + 'urls' => array(), 'groups' => array($group->id), 'uri' => $uri, 'verb' => ActivityVerb::LEAVE,