Пример #1
1
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');
    }
}
Пример #2
0
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');
    }
}