mirror of
https://github.com/friendica/friendica
synced 2025-04-27 02:30:10 +00:00
Replace calls of Addon::getVisibleList() with AddonHelper::getVisibleEnabledAddons()
This commit is contained in:
parent
04df082d4e
commit
4ea648475f
3 changed files with 21 additions and 13 deletions
|
@ -275,7 +275,7 @@ class Addon
|
|||
/**
|
||||
* Checks if the provided addon is enabled
|
||||
*
|
||||
* @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::isEnabled()` instead
|
||||
* @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::isAddonEnabled()` instead
|
||||
*
|
||||
* @param string $addon
|
||||
* @return boolean
|
||||
|
@ -288,7 +288,7 @@ class Addon
|
|||
/**
|
||||
* Returns a list of the enabled addon names
|
||||
*
|
||||
* @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::getEnabledList()` instead
|
||||
* @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::getEnabledAddons()` instead
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
|
@ -300,7 +300,7 @@ class Addon
|
|||
/**
|
||||
* Returns the list of non-hidden enabled addon names
|
||||
*
|
||||
* @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::getVisibleList()` instead
|
||||
* @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::getVisibleEnabledAddons()` instead
|
||||
*
|
||||
* @return array
|
||||
* @throws \Exception
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue