Fix the clean up of legacy overrides
authorAlexander Ebert <ebert@woltlab.com>
Mon, 14 Oct 2024 12:32:56 +0000 (14:32 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 14 Oct 2024 12:32:56 +0000 (14:32 +0200)
wcfsetup/install/files/lib/acp/form/PackageEnableUpgradeOverrideForm.class.php

index 484834982dd1ec4fb3d0e26f9bb9700b33569f93..f0a75e84b6973b2f60cd0d4970afcdd47ef0da5e 100644 (file)
@@ -279,8 +279,8 @@ final class PackageEnableUpgradeOverrideForm extends AbstractFormBuilderForm
         }
 
         // Clear the legacy override.
-        RegistryHandler::getInstance()->delete('com.woltlab.wcf', self::class . "\0upgradeOverride");
-        RegistryHandler::getInstance()->delete('com.woltlab.wcf', self::class . "\0upgradeOverride_6.0");
+        RegistryHandler::getInstance()->delete('com.woltlab.wcf', PackageUpdateServer::class . "\0upgradeOverride");
+        RegistryHandler::getInstance()->delete('com.woltlab.wcf', PackageUpdateServer::class . "\0upgradeOverride_6.0");
 
         PackageUpdateServer::resetAll();