Skip to content
Snippets Groups Projects
Commit e1b87f68 authored by Ruben Estrada's avatar Ruben Estrada
Browse files

#1318 fix send shceduled import notification. Sends the notification right...

#1318 fix send shceduled import notification. Sends the notification right away instead of adding to queue mechanism.
parent db615f42
No related branches found
No related tags found
1 merge request!662#1318 fix send shceduled import notification.
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