Skip to content
Snippets Groups Projects
Commit 7267531c authored by Peter Rotich's avatar Peter Rotich
Browse files

Enable preloaded canned responses by default

parent 49b7b4e6
No related branches found
No related tags found
No related merge requests found
......@@ -140,6 +140,7 @@ class Internationalization {
if (($tpl = $this->getTemplate('templates/premade.yaml'))
&& ($canned = $tpl->getData())) {
foreach ($canned as $c) {
$c['isenabled'] = 1;
if (!($premade = Canned::create($c)) || !$premade->save())
continue;
if (isset($c['attachments'])) {
......
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