We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents efb3999 + c1a0050 commit 6060d19Copy full SHA for 6060d19
classes/migration/upgrade/v3_5_0/InstallEmailTemplates.php
@@ -28,11 +28,23 @@ protected function getEmailTemplateKeys(): array
28
{
29
return [
30
'CHANGE_EMAIL',
31
+ 'SUBMISSION_SAVED_FOR_LATER',
32
+ 'SUBMISSION_NEEDS_EDITOR',
33
+ 'REVIEW_COMPLETE',
34
+ 'REVIEW_EDIT',
35
];
36
}
37
38
public function up(): void
39
40
+ // remove the carried-over notifications template rows
41
+ DB::table('email_templates_default_data')
42
+ ->where('email_key', 'NOTIFICATION')
43
+ ->delete();
44
+ DB::table('email_templates')
45
46
47
+
48
$xmlDao = new XMLDAO();
49
50
$data = $xmlDao->parseStruct('registry/emailTemplates.xml', ['email']);
0 commit comments