Move getEnabledList into AddonHelper

This commit is contained in:
Art4 2025-02-02 06:55:38 +00:00
parent 91bd6089b5
commit 5504fdcd06
4 changed files with 22 additions and 1 deletions

View file

@ -275,6 +275,8 @@ class Addon
/**
* Checks if the provided addon is enabled
*
* @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::isEnabled()` instead
*
* @param string $addon
* @return boolean
*/
@ -286,6 +288,8 @@ class Addon
/**
* Returns a list of the enabled addon names
*
* @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::getEnabledList()` instead
*
* @return array
*/
public static function getEnabledList(): array