From 210888c516200c0f298000ecbe5ff70e78c9fcfe Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 7 Aug 2019 14:48:36 -0700 Subject: [PATCH] afform_html - Remove unused page controller Obsoleted by afform-based version of the page --- .../html/CRM/AfformHtml/Page/HtmlEditor.php | 25 ----------------- .../CRM/AfformHtml/Page/HtmlEditor.tpl | 27 ------------------- ext/afform/html/xml/Menu/afform_html.xml | 9 ------- 3 files changed, 61 deletions(-) delete mode 100644 ext/afform/html/CRM/AfformHtml/Page/HtmlEditor.php delete mode 100644 ext/afform/html/templates/CRM/AfformHtml/Page/HtmlEditor.tpl delete mode 100644 ext/afform/html/xml/Menu/afform_html.xml diff --git a/ext/afform/html/CRM/AfformHtml/Page/HtmlEditor.php b/ext/afform/html/CRM/AfformHtml/Page/HtmlEditor.php deleted file mode 100644 index 89d4767ea9..0000000000 --- a/ext/afform/html/CRM/AfformHtml/Page/HtmlEditor.php +++ /dev/null @@ -1,25 +0,0 @@ -add([ - 'markup' => '', - ]); - Civi::resources() - ->addVars('afform_html', [ - 'paths' => [ - 'vs' => E::url(self::MONACO_DIR), - ], - ]) - ->addScriptFile(E::LONG_NAME, self::MONACO_DIR . '/loader.js', CRM_Core_Resources::DEFAULT_WEIGHT, 'html-header'); - - parent::run(); - } - -} diff --git a/ext/afform/html/templates/CRM/AfformHtml/Page/HtmlEditor.tpl b/ext/afform/html/templates/CRM/AfformHtml/Page/HtmlEditor.tpl deleted file mode 100644 index df123dada3..0000000000 --- a/ext/afform/html/templates/CRM/AfformHtml/Page/HtmlEditor.tpl +++ /dev/null @@ -1,27 +0,0 @@ - - - -
- - diff --git a/ext/afform/html/xml/Menu/afform_html.xml b/ext/afform/html/xml/Menu/afform_html.xml deleted file mode 100644 index bf56e3799a..0000000000 --- a/ext/afform/html/xml/Menu/afform_html.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - civicrm/admin/afform/html - CRM_AfformHtml_Page_HtmlEditor - HtmlEditor - administer CiviCRM - - -- 2.25.1