mirror of
https://github.com/friendica/friendica
synced 2025-04-29 01:04:28 +02:00
Rename method names in AddonHelper
This commit is contained in:
parent
bc6145c684
commit
04df082d4e
5 changed files with 11 additions and 11 deletions
|
@ -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)) {
|
||||
|
|
|
@ -186,7 +186,7 @@ class Summary extends BaseAdmin
|
|||
'$platform' => App::PLATFORM,
|
||||
'$codename' => App::CODENAME,
|
||||
'$build' => DI::config()->get('system', 'build'),
|
||||
'$addons' => [DI::l10n()->t('Active addons'), DI::addonHelper()->getEnabledList()],
|
||||
'$addons' => [DI::l10n()->t('Active addons'), DI::addonHelper()->getEnabledAddons()],
|
||||
'$serversettings' => $server_settings,
|
||||
'$warningtext' => $warningtext,
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue