mirror of
https://github.com/friendica/friendica
synced 2025-02-21 20:46:48 +00:00
Deprecate more Addon methods
This commit is contained in:
parent
a8249be928
commit
ecbd0423da
1 changed files with 9 additions and 0 deletions
|
@ -111,6 +111,8 @@ class Addon
|
||||||
/**
|
/**
|
||||||
* uninstalls an addon.
|
* uninstalls an addon.
|
||||||
*
|
*
|
||||||
|
* @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::uninstallAddon()` instead
|
||||||
|
*
|
||||||
* @param string $addon name of the addon
|
* @param string $addon name of the addon
|
||||||
* @return void
|
* @return void
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
|
@ -137,6 +139,8 @@ class Addon
|
||||||
/**
|
/**
|
||||||
* installs an addon.
|
* installs an addon.
|
||||||
*
|
*
|
||||||
|
* @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::installAddon()` instead
|
||||||
|
*
|
||||||
* @param string $addon name of the addon
|
* @param string $addon name of the addon
|
||||||
* @return bool
|
* @return bool
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
|
@ -175,6 +179,8 @@ class Addon
|
||||||
/**
|
/**
|
||||||
* reload all updated addons
|
* reload all updated addons
|
||||||
*
|
*
|
||||||
|
* @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::reloadAddons()` instead
|
||||||
|
*
|
||||||
* @return void
|
* @return void
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
*
|
*
|
||||||
|
@ -211,6 +217,9 @@ class Addon
|
||||||
* * Maintainer: Jess <email>
|
* * Maintainer: Jess <email>
|
||||||
* *
|
* *
|
||||||
* *\endcode
|
* *\endcode
|
||||||
|
*
|
||||||
|
* @deprecated 2025.02 Use `Friendica\Core\Addon\AddonHelper::getAddonInfo()` instead
|
||||||
|
*
|
||||||
* @param string $addon the name of the addon
|
* @param string $addon the name of the addon
|
||||||
* @return array with the addon information
|
* @return array with the addon information
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
|
|
Loading…
Add table
Reference in a new issue