Skip to content
Snippets Groups Projects
Unverified Commit cf467cfb authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Add reminder to remove workaround-code

parent ebd77647
No related branches found
No related tags found
No related merge requests found
...@@ -252,6 +252,9 @@ class EMail ...@@ -252,6 +252,9 @@ class EMail
*/ */
public function generateBody($template) public function generateBody($template)
{ {
// Force mail template to be rendered by Twig, even when using oldui
// Replace this with the following line of code in 2.0
// $config = Configuration::getInstance();
$config = Configuration::loadFromArray([ $config = Configuration::loadFromArray([
'usenewui' => true, 'usenewui' => true,
]); ]);
......
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