Skip to content

Commit

Permalink
editor url bei fehler im yform template korrigiert.
Browse files Browse the repository at this point in the history
  • Loading branch information
dergel committed Jan 29, 2023
1 parent ced8f14 commit b2abfde
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions plugins/email/boot.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
<?php

rex_extension::register('EDITOR_URL', static function (rex_extension_point $ep) {
static $urls = [
'yform' => ['templates', 'template_id'],
'module' => ['modules/modules', 'module_id'],
'action' => ['modules/actions', 'action_id'],
];

if (preg_match('@^rex:///yform/email/template/(.*)/(.*)@', $ep->getParam('file'), $match)) {
return rex_url::backendPage(
'yform/email/index',
Expand All @@ -16,5 +10,4 @@
]
);
}
return $ep->getParam('file');
});

0 comments on commit b2abfde

Please sign in to comment.