Revize c478920d
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, $user_id,
|
||
$a_email, $a_sms
|
||
$bank_account_model, $settings, $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
|
||
$html_message = email::create_preview_link($hash) . $email->body;
|
||
$message = new Swift_Message($email->subject, $html_messsage, 'text/html');
|
||
$message = new Swift_Message($email->subject, $email->body, 'text/html');
|
||
|
||
// Send
|
||
if (Config::get('unit_tester') ||
|
Také k dispozici: Unified diff
Undo my stupid mistake (I have pushed issue-957 to master instead of develop). Do I have copied files from GitHub master and push them back..