From 4465724ed3b057057d079f4670a48f6c0910c076 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 27 Dec 2010 22:16:34 -0800 Subject: [PATCH] return saved notice to AtomPub for Bookmarks --- plugins/Bookmark/BookmarkPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.5