function main() { if (Event::handle('StartUpgrade')) { updateSchemaCore(); updateSchemaPlugins(); // These replace old "fixup_*" scripts fixupNoticeRendered(); fixupNoticeConversation(); initConversation(); initInbox(); fixupGroupURI(); initLocalGroup(); initNoticeReshare(); initFaveURI(); initSubscriptionURI(); initGroupMemberURI(); initProfileLists(); Event::handle('EndUpgrade'); } }
function main() { if (Event::handle('StartUpgrade')) { fixupConversationURIs(); updateSchemaCore(); updateSchemaPlugins(); // These replace old "fixup_*" scripts fixupNoticeConversation(); initConversation(); fixupGroupURI(); fixupFileGeometry(); deleteLocalFileThumbnailsWithoutFilename(); deleteMissingLocalFileThumbnails(); setFilehashOnLocalFiles(); initGroupProfileId(); initLocalGroup(); initNoticeReshare(); initSubscriptionURI(); initGroupMemberURI(); initProfileLists(); Event::handle('EndUpgrade'); } }