From d67b6eae2f913315570b16972e8a7c874c78a0db Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sun, 2 Nov 2025 19:57:57 +0100 Subject: [PATCH] pass notifier and translator to hook addRoute() --- www/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/index.php b/www/index.php index 7cc96955d..dd061117d 100644 --- a/www/index.php +++ b/www/index.php @@ -76,7 +76,7 @@ if (true) { if (method_exists($hookObj, 'addRoute')) { // FIXME: pass $app only just like initRestAPI. $app has a container // which contains all other objects - $hookObj->addRoute(array('dms'=>$dms, 'app'=>$app, 'settings'=>$settings, 'conversionmgr'=>$conversionmgr, 'authenticator'=>$authenticator, 'fulltextservice'=>$fulltextservice, 'logger'=>$logger)); + $hookObj->addRoute(array('dms'=>$dms, 'app'=>$app, 'settings'=>$settings, 'conversionmgr'=>$conversionmgr, 'authenticator'=>$authenticator, 'fulltextservice'=>$fulltextservice, 'logger'=>$logger, 'notifier'=>$notifier, 'translator'=>$translator)); } } }