mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-10 07:19:43 +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();
|
$folderList = array();
|
||||||
|
|
||||||
$this->bofelamimail =& CreateObject('felamimail.bofelamimail',$GLOBALS['egw']->translation->charset());
|
$bofelamimail =& CreateObject('felamimail.bofelamimail',$GLOBALS['egw']->translation->charset());
|
||||||
if($this->bofelamimail->openConnection()) {
|
if($bofelamimail->openConnection()) {
|
||||||
$folderObjects = $this->bofelamimail->getFolderObjects(true, false);
|
$folderObjects = $bofelamimail->getFolderObjects(true, false);
|
||||||
foreach($folderObjects as $folderName => $folderInfo) {
|
foreach($folderObjects as $folderName => $folderInfo) {
|
||||||
#_debug_array($folderData);
|
#_debug_array($folderData);
|
||||||
$folderList[$folderName] = $folderInfo->displayName;
|
$folderList[$folderName] = $folderInfo->displayName;
|
||||||
}
|
}
|
||||||
$this->bofelamimail->closeConnection();
|
$bofelamimail->closeConnection();
|
||||||
}
|
}
|
||||||
|
|
||||||
$availableAutoFolders['none'] = lang('none, create all');
|
$availableAutoFolders['none'] = lang('none, create all');
|
||||||
foreach($this->bofelamimail->autoFolders as $aname) {
|
foreach($bofelamimail->autoFolders as $aname) {
|
||||||
$availableAutoFolders[$aname] = lang($aname);
|
$availableAutoFolders[$aname] = lang($aname);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user