EndShowInvitationSuccess: After showing invitations success msg
- $action: invitation action
+StartUpgrade: when starting a site upgrade
+
+EndUpgrade: when ending a site upgrade; good place to do your own upgrades
+
function main()
{
- updateSchemaCore();
- updateSchemaPlugins();
+ if (Event::handle('StartUpgrade')) {
+ updateSchemaCore();
+ updateSchemaPlugins();
- // These replace old "fixup_*" scripts
+ // These replace old "fixup_*" scripts
- fixupNoticeRendered();
- fixupNoticeConversation();
- initConversation();
- initInbox();
- fixupGroupURI();
+ fixupNoticeRendered();
+ fixupNoticeConversation();
+ initConversation();
+ initInbox();
+ fixupGroupURI();
- initLocalGroup();
- initNoticeReshare();
+ initLocalGroup();
+ initNoticeReshare();
- initFaveURI();
- initSubscriptionURI();
- initGroupMemberURI();
+ initFaveURI();
+ initSubscriptionURI();
+ initGroupMemberURI();
+
+ Event::handle('EndUpgrade');
+ }
}
function tableDefs()