From: Mikael Nordfeldth Date: Tue, 29 Mar 2016 10:13:23 +0000 (+0200) Subject: Upgrade info from Bookmark plugin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=23bb45b845025c3715bd291798601657b97a29eb;p=quix0rs-gnu-social.git Upgrade info from Bookmark plugin --- diff --git a/plugins/Bookmark/BookmarkPlugin.php b/plugins/Bookmark/BookmarkPlugin.php index 904c7ee9c9..780acfcbbc 100644 --- a/plugins/Bookmark/BookmarkPlugin.php +++ b/plugins/Bookmark/BookmarkPlugin.php @@ -347,6 +347,8 @@ class BookmarkPlugin extends MicroAppPlugin function onEndUpgrade() { + printfnq('Making sure Bookmark notices have correct verb and object_type...'); + // Version 0.9.x of the plugin didn't stamp notices // with verb and object-type (for obvious reasons). Update // those notices here. @@ -364,6 +366,8 @@ class BookmarkPlugin extends MicroAppPlugin $notice->object_type = ActivityObject::BOOKMARK; $notice->update($original); } + + printfnq("DONE.\n"); } public function activityObjectOutputJson(ActivityObject $obj, array &$out)