using new email address from the account

This commit is contained in:
Ralf Becker 2004-08-01 17:09:26 +00:00
parent 39c1a0aabb
commit 8ea4f68715

View File

@ -76,12 +76,10 @@
if ($_POST['test'])
{
$prefs = $GLOBALS['phpgw']->preferences->create_email_preferences();
if (!$async->set_timer($times,'test','admin.uiasyncservice.test',$prefs['email']['address']))
if (!$async->set_timer($times,'test','admin.uiasyncservice.test',$GLOBALS['phpgw_info']['user']['email']))
{
echo '<p><b>'.lang("Error setting timer, wrong syntax or maybe there's one already running !!!")."</b></p>\n";
}
unset($prefs);
}
if ($_POST['cancel'])
{