removed no longer used enable_popup check, as it is always enabled now

This commit is contained in:
Ralf Becker 2011-06-15 10:05:11 +00:00
parent 81f58ab129
commit 39080d50f8

View File

@ -13,7 +13,7 @@
* @version $Id$ * @version $Id$
*/ */
$notification_config = config::read('notifications'); $notification_config = config::read('notifications');
if ($notification_config['popup_enable'] && $GLOBALS['egw_info']['user']['apps']['notifications']) if ($GLOBALS['egw_info']['user']['apps']['notifications'])
{ {
$GLOBALS['egw']->translation->add_app('notifications'); $GLOBALS['egw']->translation->add_app('notifications');
$popup_poll_interval = empty($notification_config['popup_poll_interval']) ? 60 : $notification_config['popup_poll_interval']; $popup_poll_interval = empty($notification_config['popup_poll_interval']) ? 60 : $notification_config['popup_poll_interval'];
@ -23,7 +23,7 @@ if ($notification_config['popup_enable'] && $GLOBALS['egw_info']['user']['apps']
echo ' echo '
<div id="egwpopup" style="display: none; z-index: 999;"> <div id="egwpopup" style="display: none; z-index: 999;">
<div id="egwpopup_header">'.lang('Notification'). '<span style="float:right;">'. <div id="egwpopup_header">'.lang('Notification'). '<span style="float:right;">'.
html::submit_button('egwpopup_close_button', 'X', 'egwpopup_button_close();',true,'', 'close.button') . html::submit_button('egwpopup_close_button', 'X', 'egwpopup_button_close();',true,'', 'close.button') .
'</span></div> '</span></div>
<div id="egwpopup_message"></div> <div id="egwpopup_message"></div>
<div id="egwpopup_footer"> <div id="egwpopup_footer">