mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Merge pull request #2579 from aynsix/PHRAS-1932-ftp-export-task
PHRAS-1932 FTP export task
This commit is contained in:
@@ -13,6 +13,7 @@ namespace Alchemy\Phrasea\TaskManager\Job;
|
||||
|
||||
use ftpclient;
|
||||
use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\Core\LazyLocator;
|
||||
use Alchemy\Phrasea\Application\Helper\NotifierAware;
|
||||
use Alchemy\Phrasea\Model\Serializer\CaptionSerializer;
|
||||
use Alchemy\Phrasea\Notification\Mail\MailSuccessFTPReceiver;
|
||||
@@ -344,6 +345,8 @@ class FtpJob extends AbstractJob
|
||||
|
||||
private function send_mails(Application $app, FtpExport $export)
|
||||
{
|
||||
$this->setDelivererLocator(new LazyLocator($app, 'notification.deliverer'));
|
||||
|
||||
$transferts = [];
|
||||
$transfert_status = $this->translator->trans('task::ftp:Tous les documents ont ete transferes avec succes');
|
||||
|
||||
|
Reference in New Issue
Block a user