Rename method names in AddonHelper

This commit is contained in:
Art4 2025-02-03 14:27:23 +00:00
parent bc6145c684
commit 04df082d4e
5 changed files with 11 additions and 11 deletions

View file

@ -38,7 +38,7 @@ class Index extends BaseAdmin
$addonHelper = DI::addonHelper();
$addon = $_GET['addon'] ?? '';
if ($addonHelper->isEnabled($addon)) {
if ($addonHelper->isAddonEnabled($addon)) {
Addon::uninstall($addon);
DI::sysmsg()->addInfo(DI::l10n()->t('Addon %s disabled.', $addon));
} elseif (Addon::install($addon)) {