Revize 74a7dbca
Přidáno uživatelem Michal Kliment před více než 9 roky(ů)
application/controllers/scheduler.php | ||
---|---|---|
// import
|
||
try
|
||
{
|
||
$association = new Member_Model(Member_Model::ASSOCIATION);
|
||
$user_id = $association->get_main_user();
|
||
// download&import
|
||
$bs = Bank_Statement_File_Importer::download(
|
||
$bank_account_model, $settings, $a_email, $a_sms
|
||
$bank_account_model, $settings, $user_id,
|
||
$a_email, $a_sms
|
||
);
|
||
|
||
// inform
|
||
... | ... | |
$recipients = new Swift_RecipientList;
|
||
$recipients->addTo($email->to);
|
||
|
||
// E-mail hash
|
||
$hash = sha1($email->id . $email->to . $email->body);
|
||
$email->hash = $hash;
|
||
|
||
// Build the HTML message
|
||
$message = new Swift_Message($email->subject, $email->body, 'text/html');
|
||
$html_message = email::create_preview_link($hash) . $email->body;
|
||
$message = new Swift_Message($email->subject, $html_messsage, 'text/html');
|
||
|
||
// Send
|
||
if (Config::get('unit_tester') ||
|
Také k dispozici: Unified diff
Merge from SVN branch 1.2.