From: Evan Prodromou Date: Thu, 25 Aug 2011 16:59:40 +0000 (-0400) Subject: Don't try to read the URLs in system notices X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=654fdf2fa453fcb6be3df62622741e52eca4db7b;p=quix0rs-gnu-social.git Don't try to read the URLs in system notices --- 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,