mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 04:19:49 +01:00
"fixed fatal error ($this used in static method)"
This commit is contained in:
parent
22d6b9d95b
commit
3ef9fc0711
@ -24,18 +24,18 @@ class felamimail_hooks
|
||||
{
|
||||
$folderList = array();
|
||||
|
||||
$this->bofelamimail =& CreateObject('felamimail.bofelamimail',$GLOBALS['egw']->translation->charset());
|
||||
if($this->bofelamimail->openConnection()) {
|
||||
$folderObjects = $this->bofelamimail->getFolderObjects(true, false);
|
||||
$bofelamimail =& CreateObject('felamimail.bofelamimail',$GLOBALS['egw']->translation->charset());
|
||||
if($bofelamimail->openConnection()) {
|
||||
$folderObjects = $bofelamimail->getFolderObjects(true, false);
|
||||
foreach($folderObjects as $folderName => $folderInfo) {
|
||||
#_debug_array($folderData);
|
||||
$folderList[$folderName] = $folderInfo->displayName;
|
||||
}
|
||||
$this->bofelamimail->closeConnection();
|
||||
$bofelamimail->closeConnection();
|
||||
}
|
||||
|
||||
$availableAutoFolders['none'] = lang('none, create all');
|
||||
foreach($this->bofelamimail->autoFolders as $aname) {
|
||||
foreach($bofelamimail->autoFolders as $aname) {
|
||||
$availableAutoFolders[$aname] = lang($aname);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user