]> git.mxchange.org Git - friendica.git/commitdiff
Deprecate more Addon methods
authorArt4 <art4@wlabs.de>
Tue, 4 Feb 2025 10:47:31 +0000 (10:47 +0000)
committerArt4 <art4@wlabs.de>
Tue, 4 Feb 2025 10:47:31 +0000 (10:47 +0000)
src/Core/Addon.php

index e4d8c3aa132c8a9cdcd445b5bb7c066a05e7511b..a922c378f6e5806b020680f9405235956a93c95e 100644 (file)
@@ -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 <email>
         *   *
         *   *\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