Merge pull request #14795 from Art4/deprecate-strategies-via-addons

Deprecate the strategy concept for addons
This commit is contained in:
Hypolite Petovan 2025-03-09 20:55:25 -04:00 committed by GitHub
commit b2f50301f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 26 additions and 0 deletions

View file

@ -83,6 +83,8 @@ return [
## Addons
> ⚠️ Since Friendica 2025.02 the strategy hooks for addons are deprecated, please use PHP hooks instead.
The hook logic is useful for decoupling the Friendica core logic, but its primary goal is to modularize Friendica in creating addons.
Therefor you can either use the interfaces directly as shown above, or you can place your own `hooks.config.php` file inside a `static` directory directly under your addon core directory.