Revize 18ac9009
Přidáno uživatelem Ondřej Fibich před asi 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
Fix merge issue that removed all staff from developer branch :-).