From 7b76d3d6f9db0e8be51e8e798f9cc3e7cc17fd51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Svi=CC=81tok?= Date: Thu, 26 May 2022 13:00:09 +0200 Subject: [PATCH] Fixes deprecated warning because of using Latte#addFilter() method remp/crm#1135 (cherry picked from commit ab87bd3402cf8a9a7ae167e037e39802e9d04e37) --- CHANGELOG.md | 6 +++++- Mailer/extensions/mailer-module/src/config/config.neon | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c67f0df81..bf32c9fc8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ## [Unreleased] -## [0.32.2] - 2022-05-02 +## [0.32.3] - 2022-05-26 + +- Fixed deprecated warning because of using `Latte#addFilter()` method. remp/crm#1135 + +## [0.32.2] - 2022-05-11 ### [Campaign] diff --git a/Mailer/extensions/mailer-module/src/config/config.neon b/Mailer/extensions/mailer-module/src/config/config.neon index ec557b22a..a124ce6f6 100644 --- a/Mailer/extensions/mailer-module/src/config/config.neon +++ b/Mailer/extensions/mailer-module/src/config/config.neon @@ -24,7 +24,7 @@ services: nette.latteFactory: setup: - - addFilter(null, [@filterLoader, 'load']) + - addFilterLoader([@filterLoader, 'load']) mailWorkerCommand: factory: Remp\MailerModule\Commands\MailWorkerCommand(@commandsLogger)