Fix validation reminder

This commit is contained in:
Romain Neutron
2013-07-17 19:31:37 +02:00
parent d3f5ca8a41
commit 6d30f9bc9d

View File

@@ -12,6 +12,7 @@
use Alchemy\Phrasea\Application; use Alchemy\Phrasea\Application;
use Alchemy\Phrasea\Notification\Mail\MailInfoValidationReminder; use Alchemy\Phrasea\Notification\Mail\MailInfoValidationReminder;
use Alchemy\Phrasea\Notification\Receiver; use Alchemy\Phrasea\Notification\Receiver;
use Alchemy\Phrasea\Notification\Emitter;
class eventsmanager_notify_validationreminder extends eventsmanager_notifyAbstract class eventsmanager_notify_validationreminder extends eventsmanager_notifyAbstract
{ {
@@ -102,7 +103,7 @@ class eventsmanager_notify_validationreminder extends eventsmanager_notifyAbstra
$title = $basket->getName(); $title = $basket->getName();
$receiver = Receiver::fromUser($user_to); $receiver = Receiver::fromUser($user_to);
$emitter = Receiver::fromUser($user_from); $emitter = Emitter::fromUser($user_from);
$readyToSend = true; $readyToSend = true;
} catch (\Exception $e) { } catch (\Exception $e) {