From: Evan Prodromou Date: Tue, 28 Dec 2010 06:16:34 +0000 (-0800) Subject: return saved notice to AtomPub for Bookmarks X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4465724ed3b057057d079f4670a48f6c0910c076;p=quix0rs-gnu-social.git return saved notice to AtomPub for Bookmarks --- diff --git a/plugins/Bookmark/BookmarkPlugin.php b/plugins/Bookmark/BookmarkPlugin.php index 470ddaa0ce..fe1563f038 100644 --- a/plugins/Bookmark/BookmarkPlugin.php +++ b/plugins/Bookmark/BookmarkPlugin.php @@ -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; }