diff --git a/source/script.php b/source/script.php index 57f2be7e..3d10bdf7 100644 --- a/source/script.php +++ b/source/script.php @@ -70,6 +70,10 @@ class Pkg_MokosuiteclientInstallerScript // Remove legacy extensions and migrate settings before retiring $this->cleanupLegacyExtensions(); $this->migrateStandalonePlugins(); + + // Migrate monitor params into core plugin BEFORE monitor row is deleted + $this->migrateMonitorParams(); + $this->removeRetiredExtensions(); $this->enablePlugin('system', 'mokosuiteclient'); @@ -86,9 +90,6 @@ class Pkg_MokosuiteclientInstallerScript // Migrate params from core plugin to feature plugins (one-time) $this->migrateFeatureParams(); - // Migrate monitor params into core plugin before monitor is retired - $this->migrateMonitorParams(); - // Set up cpanel module on the admin dashboard $this->setupCpanelModule();