diff options
| author | 2019-08-14 22:19:24 +0200 | |
|---|---|---|
| committer | 2019-08-14 22:19:24 +0200 | |
| commit | 7fd88adeb081e2996cad48225bf0c74cfe8b90ef (patch) | |
| tree | bb5edece026aa3fc543dd2a09bd6f3a11ed46a70 /app/FreshRSS.php | |
| parent | c82aff177e53685c66d1bd1ab41a893bef29caef (diff) | |
Add hooks to ExtensionManager (#2482)
Hooks allow to:
- add items in menus
- perform new actions at the end of FreshRSS initialization
Diffstat (limited to 'app/FreshRSS.php')
| -rw-r--r-- | app/FreshRSS.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php index 8f614c538..d578beac4 100644 --- a/app/FreshRSS.php +++ b/app/FreshRSS.php @@ -53,6 +53,8 @@ class FreshRSS extends Minz_FrontController { $ext_list = FreshRSS_Context::$user_conf->extensions_enabled; Minz_ExtensionManager::enableByList($ext_list); } + + Minz_ExtensionManager::callHook('freshrss_init'); } private static function initAuth() { |
