mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 04:46:42 +02:00
bofelamimail --> felamimail_bo
This commit is contained in:
@@ -132,10 +132,8 @@ class notifications_ajax {
|
||||
if(count($notify_folders) == 0) {
|
||||
return true; //no folders configured for notifying - exit
|
||||
}
|
||||
// explicit require bofelamimail, 'til it get a autoloading conform name
|
||||
require_once(EGW_INCLUDE_ROOT.'/felamimail/inc/class.bofelamimail.inc.php');
|
||||
|
||||
$bofelamimail = new bofelamimail($GLOBALS['egw']->translation->charset());
|
||||
$bofelamimail = felamimail_bo::getInstance();
|
||||
// buffer felamimail sessiondata, as they are needed for information exchange by the app itself
|
||||
$bufferFMailSession = $bofelamimail->sessionData;
|
||||
if(!$bofelamimail->openConnection()) {
|
||||
@@ -169,7 +167,7 @@ class notifications_ajax {
|
||||
}
|
||||
// restore the felamimail session data, as they are needed by the app itself
|
||||
$bofelamimail->sessionData = $bufferFMailSession;
|
||||
$bofelamimail->saveSessionData();
|
||||
$bofelamimail->saveSessionData();
|
||||
if(count($recent_messages) > 0) {
|
||||
// create notify message
|
||||
$notification_subject = lang("You've got new mail");
|
||||
|
Reference in New Issue
Block a user