Skip to content
Snippets Groups Projects
Commit 7a4b8c4b authored by Uma's avatar Uma
Browse files

Merge branch 'fix_email_notification_in_shceduled_import' into 'master'

#1318 fix send shceduled import notification.

Sends the notification right away instead of adding to queue mechanism.

See merge request !662
parents aacce356 e1b87f68
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -904,11 +904,10 @@ class Import_Data_Action extends Vtiger_Action_Controller {
$vtigerMailer->AddAddress($userEmail, $userName);
$vtigerMailer->Subject = $emailSubject;
$vtigerMailer->Body = $emailData;
$vtigerMailer->Send();
$vtigerMailer->Send(true);
$importDataController->finishImport();
}
Vtiger_Mailer::dispatchQueue(null);
}
public function getNumberOfRecordsToImport($user){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment