]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Don't try to read the URLs in system notices
authorEvan Prodromou <evan@status.net>
Thu, 25 Aug 2011 16:59:40 +0000 (12:59 -0400)
committerEvan Prodromou <evan@status.net>
Thu, 25 Aug 2011 16:59:40 +0000 (12:59 -0400)
plugins/Activity/ActivityPlugin.php

index 92972ff173804d234590879106be8b51f03b73d9..cd47427e0a97dee1f06a9378e8a9d784ebb27b1e 100644 (file)
@@ -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,