]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Upgrade info from Bookmark plugin
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 29 Mar 2016 10:13:23 +0000 (12:13 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 29 Mar 2016 10:13:23 +0000 (12:13 +0200)
plugins/Bookmark/BookmarkPlugin.php

index 904c7ee9c9e1817ebef74997ebd2a224c0a336a2..780acfcbbc4ca8bd18debfc396a2b81ff5357a78 100644 (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)