File tree Expand file tree Collapse file tree
classes/ColdTrick/EventManager Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33namespace ColdTrick \EventManager ;
44
55use Elgg \Email ;
6- use Elgg \Email \Address ;
76use Elgg \Notifications \NotificationEvent ;
8- use Elgg \ Notifications \ Notification ;
7+ use Symfony \ Component \ Mime \ Address ;
98
109/**
1110 * Notifications related callbacks
@@ -22,7 +21,6 @@ class Notifications {
2221 * @return void|\Elgg\Email
2322 */
2423 public static function prepareEventRegistrationSender (\Elgg \Event $ event ) {
25-
2624 $ email = $ event ->getValue ();
2725 if (!$ email instanceof Email) {
2826 return ;
@@ -48,7 +46,6 @@ public static function prepareEventRegistrationSender(\Elgg\Event $event) {
4846 * @return void
4947 */
5048 public static function sendAfterEventMail (\Elgg \Event $ elgg_event ): void {
51-
5249 $ event = $ elgg_event ->getParam ('event ' );
5350 if (!$ event instanceof NotificationEvent) {
5451 return ;
You can’t perform that action at this time.
0 commit comments