]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
return saved notice to AtomPub for Bookmarks
authorEvan Prodromou <evan@status.net>
Tue, 28 Dec 2010 06:16:34 +0000 (22:16 -0800)
committerEvan Prodromou <evan@status.net>
Tue, 28 Dec 2010 06:16:34 +0000 (22:16 -0800)
plugins/Bookmark/BookmarkPlugin.php

index 470ddaa0ce62b11fce7bdba3792ab58c91afee95..fe1563f038fe44e2201a87b631ba1bd80a6a93cc 100644 (file)
@@ -513,11 +513,11 @@ class BookmarkPlugin extends Plugin
         return true;
     }
 
-    function onStartAtomPubNewActivity(&$activity, $user)
+    function onStartAtomPubNewActivity(&$activity, $user, &$notice)
     {
         if (self::_isPostBookmark($activity)) {
             $options = array('source' => 'atompub');
-            self::_postBookmark($user->getProfile(), $activity, $options);
+            $notice = self::_postBookmark($user->getProfile(), $activity, $options);
             return false;
         }