From ecbd0423daee078a487df21a3d19bbd85bf59170 Mon Sep 17 00:00:00 2001 From: Art4 Date: Tue, 4 Feb 2025 10:47:31 +0000 Subject: [PATCH] Deprecate more Addon methods --- src/Core/Addon.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Core/Addon.php b/src/Core/Addon.php index e4d8c3aa13..a922c378f6 100644 --- a/src/Core/Addon.php +++ b/src/Core/Addon.php @@ -111,6 +111,8 @@ class Addon /** * uninstalls an addon. * + * @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::uninstallAddon()` instead + * * @param string $addon name of the addon * @return void * @throws \Exception @@ -137,6 +139,8 @@ class Addon /** * installs an addon. * + * @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::installAddon()` instead + * * @param string $addon name of the addon * @return bool * @throws \Exception @@ -175,6 +179,8 @@ class Addon /** * reload all updated addons * + * @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::reloadAddons()` instead + * * @return void * @throws \Exception * @@ -211,6 +217,9 @@ class Addon * * Maintainer: Jess * * * *\endcode + * + * @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::getAddonInfo()` instead + * * @param string $addon the name of the addon * @return array with the addon information * @throws \Exception