mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
general stuff:
-------------- -emailadmin classnames YOU MAY HAVE TO RUN "SEARCH AND REGISTER ALL HOOKS OF ALL APPLICATIONS"
This commit is contained in:
parent
28654c560e
commit
f4f0470b16
@ -24,9 +24,9 @@
|
||||
{
|
||||
$GLOBALS['config_error'] = lang('Missing or uncomplete mailserver configuration');
|
||||
}
|
||||
if (@file_exists('../emailadmin/inc/class.bo.inc.php') && $GLOBALS['egw_setup']->table_exist(array('egw_emailadmin')) || true)
|
||||
if (@file_exists('../emailadmin/inc/class.emailadmin_bo.inc.php') && $GLOBALS['egw_setup']->table_exist(array('egw_emailadmin')) || true)
|
||||
{
|
||||
$emailadmin =& CreateObject('emailadmin.bo',-1,false); // false=no session stuff
|
||||
$emailadmin = new emailadmin.bo(-1,false); // false=no session stuff
|
||||
if (is_object($emailadmin))
|
||||
{
|
||||
$emailadmin->setDefaultProfile($settings);
|
||||
|
@ -189,7 +189,7 @@ function do_emailadmin()
|
||||
}
|
||||
$config['smtpAuth'] = $config['smtp_auth_user'] ? 'yes' : null;
|
||||
|
||||
$emailadmin =& CreateObject('emailadmin.bo',-1,false); // false=no session stuff
|
||||
$emailadmin = new emailadmin_bo(-1,false); // false=no session stuff
|
||||
$emailadmin->setDefaultProfile($config);
|
||||
|
||||
echo "\n".lang('EMailAdmin profile updated:')."\n";
|
||||
|
Loading…
Reference in New Issue
Block a user