Commit 23bb45b8 authored by mmn's avatar mmn

Upgrade info from Bookmark plugin

parent d4041a4a
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment