From 171712fc46548e8ed5ef33b4be2c170839fec790 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 17 Apr 2007 05:58:08 +0000 Subject: [PATCH] load translations only if needed --- notifications/inc/hook_after_navbar.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications/inc/hook_after_navbar.inc.php b/notifications/inc/hook_after_navbar.inc.php index 2a68db967a..ead0891de0 100644 --- a/notifications/inc/hook_after_navbar.inc.php +++ b/notifications/inc/hook_after_navbar.inc.php @@ -13,8 +13,8 @@ * @version $Id$ * @todo check if user wants notifications via egw popup! */ -$GLOBALS['egw']->translation->add_app('notifications'); if (!$GLOBALS['egw_info']['user']['preferences']['notifications']['disable_ajaxpopup']) { + $GLOBALS['egw']->translation->add_app('notifications'); echo ''; echo ''; echo '