Deprecate Addon::DIRECTORY in favor of AddonHelper::getAddonPath()

This commit is contained in:
Art4 2025-02-04 13:13:57 +00:00
parent 9f086c40e4
commit 4c71ac643d
4 changed files with 30 additions and 0 deletions

View file

@ -18,6 +18,9 @@ class Addon
{
/**
* The addon sub-directory
*
* @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::getAddonPath()` instead
*
* @var string
*/
const DIRECTORY = 'addon';