Upgrade info from Bookmark plugin

This commit is contained in:
Mikael Nordfeldth 2016-03-29 12:13:23 +02:00
parent d4041a4a1f
commit 23bb45b845

View File

@ -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)