mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 09:04:31 +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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue