mixin/menu-xml - Remove unused boilerplate
authorTim Otten <totten@civicrm.org>
Wed, 1 Dec 2021 02:54:36 +0000 (18:54 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 7 Dec 2021 00:05:51 +0000 (16:05 -0800)
16 files changed:
ext/afform/core/afform.civix.php
ext/afform/core/afform.php
ext/afform/html/afform_html.civix.php
ext/afform/html/afform_html.php
ext/afform/mock/afform_mock.civix.php
ext/afform/mock/afform_mock.php
ext/contributioncancelactions/contributioncancelactions.civix.php
ext/ewaysingle/ewaysingle.civix.php
ext/ewaysingle/ewaysingle.php
ext/financialacls/financialacls.civix.php
ext/financialacls/financialacls.php
ext/greenwich/greenwich.civix.php
ext/greenwich/greenwich.php
ext/payflowpro/payflowpro.civix.php
ext/payflowpro/payflowpro.php
ext/sequentialcreditnotes/sequentialcreditnotes.civix.php

index e48a4e8fede150f1667b6a1cd36fd209393e6dad..4f0d862d2f4bfaba3925990097bf26c293404c96 100644 (file)
@@ -107,19 +107,6 @@ function _afform_civix_civicrm_config(&$config = NULL) {
   set_include_path($include_path);
 }
 
-/**
- * (Delegated) Implements hook_civicrm_xmlMenu().
- *
- * @param $files array(string)
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
- */
-function _afform_civix_civicrm_xmlMenu(&$files) {
-  foreach (_afform_civix_glob(__DIR__ . '/xml/Menu/*.xml') as $file) {
-    $files[] = $file;
-  }
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index a6913a0722345167c2f3b24486cd62ad2d41665d..0438defda564dee0d01f7c1d3c64df5018e751ba 100644 (file)
@@ -63,15 +63,6 @@ function afform_civicrm_config(&$config) {
   }
 }
 
-/**
- * Implements hook_civicrm_xmlMenu().
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
- */
-function afform_civicrm_xmlMenu(&$files) {
-  _afform_civix_civicrm_xmlMenu($files);
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index 18f4ce47b91e1c5253d4ca6694a82b4992f070a1..d7dc9f5f12edfed40f4c595fc8da194742de2cae 100644 (file)
@@ -107,19 +107,6 @@ function _afform_html_civix_civicrm_config(&$config = NULL) {
   set_include_path($include_path);
 }
 
-/**
- * (Delegated) Implements hook_civicrm_xmlMenu().
- *
- * @param $files array(string)
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
- */
-function _afform_html_civix_civicrm_xmlMenu(&$files) {
-  foreach (_afform_html_civix_glob(__DIR__ . '/xml/Menu/*.xml') as $file) {
-    $files[] = $file;
-  }
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index 7df54c2a98621e203c21c950c628749014058add..0a6fd6e82be5b811ff1431e923e658de9aacb390 100644 (file)
@@ -16,15 +16,6 @@ function afform_html_civicrm_config(&$config) {
   _afform_html_civix_civicrm_config($config);
 }
 
-/**
- * Implements hook_civicrm_xmlMenu().
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
- */
-function afform_html_civicrm_xmlMenu(&$files) {
-  _afform_html_civix_civicrm_xmlMenu($files);
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index 79f952ad912bdf14009ee449ccae91cc38b037ba..b608ef4f590be19a3e62d9be5bc67e7ecf9832ff 100644 (file)
@@ -107,19 +107,6 @@ function _afform_mock_civix_civicrm_config(&$config = NULL) {
   set_include_path($include_path);
 }
 
-/**
- * (Delegated) Implements hook_civicrm_xmlMenu().
- *
- * @param $files array(string)
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
- */
-function _afform_mock_civix_civicrm_xmlMenu(&$files) {
-  foreach (_afform_mock_civix_glob(__DIR__ . '/xml/Menu/*.xml') as $file) {
-    $files[] = $file;
-  }
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index 6c05d79b1ccd1649d1376c7ce035fbe9e61e7eb9..d75baf2aa6e9ef998c402c22cecf4e1aa7d42818 100644 (file)
@@ -12,15 +12,6 @@ function afform_mock_civicrm_config(&$config) {
   _afform_mock_civix_civicrm_config($config);
 }
 
-/**
- * Implements hook_civicrm_xmlMenu().
- *
- * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_xmlMenu
- */
-function afform_mock_civicrm_xmlMenu(&$files) {
-  _afform_mock_civix_civicrm_xmlMenu($files);
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index 69313e5f1f069467f4fd51d9fdf31dbd564e03db..dcb56704f5977b7de2dbad32c1227d733ea176fd 100644 (file)
@@ -107,19 +107,6 @@ function _contributioncancelactions_civix_civicrm_config(&$config = NULL) {
   set_include_path($include_path);
 }
 
-/**
- * (Delegated) Implements hook_civicrm_xmlMenu().
- *
- * @param $files array(string)
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
- */
-function _contributioncancelactions_civix_civicrm_xmlMenu(&$files) {
-  foreach (_contributioncancelactions_civix_glob(__DIR__ . '/xml/Menu/*.xml') as $file) {
-    $files[] = $file;
-  }
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index a587829375664e3a2d96d1a4cd5211af29ca69bf..e09f39bfc29377caf94e554d1bcc4e7621bc4ebe 100644 (file)
@@ -107,19 +107,6 @@ function _ewaysingle_civix_civicrm_config(&$config = NULL) {
   set_include_path($include_path);
 }
 
-/**
- * (Delegated) Implements hook_civicrm_xmlMenu().
- *
- * @param $files array(string)
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
- */
-function _ewaysingle_civix_civicrm_xmlMenu(&$files) {
-  foreach (_ewaysingle_civix_glob(__DIR__ . '/xml/Menu/*.xml') as $file) {
-    $files[] = $file;
-  }
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index b3bda414eb9f2318d70091d6712653ca5cfba172..a1be18b8920b812618cf657e50f5704e4fd70a9d 100644 (file)
@@ -14,15 +14,6 @@ function ewaysingle_civicrm_config(&$config) {
   _ewaysingle_civix_civicrm_config($config);
 }
 
-/**
- * Implements hook_civicrm_xmlMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
- */
-function ewaysingle_civicrm_xmlMenu(&$files) {
-  _ewaysingle_civix_civicrm_xmlMenu($files);
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index 06f74243e48b097f0ef306446d79b731c9ed0544..116ff63a2bdd6fcb8a42a7850ccd9abda424e7bd 100644 (file)
@@ -107,19 +107,6 @@ function _financialacls_civix_civicrm_config(&$config = NULL) {
   set_include_path($include_path);
 }
 
-/**
- * (Delegated) Implements hook_civicrm_xmlMenu().
- *
- * @param $files array(string)
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
- */
-function _financialacls_civix_civicrm_xmlMenu(&$files) {
-  foreach (_financialacls_civix_glob(__DIR__ . '/xml/Menu/*.xml') as $file) {
-    $files[] = $file;
-  }
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index ca017b72f6dba7ee2afd31be3240d017c2a6d314..c49dbd9f710f98e37fcfee9efdad9b740361f5f6 100644 (file)
@@ -23,15 +23,6 @@ function financialacls_civicrm_container($container) {
   $dispatcherDefn->addMethodCall('addListener', ['civi.api4.authorizeRecord::Contribution', '_financialacls_civi_api4_authorizeContribution']);
 }
 
-/**
- * Implements hook_civicrm_xmlMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
- */
-function financialacls_civicrm_xmlMenu(&$files) {
-  _financialacls_civix_civicrm_xmlMenu($files);
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index 4bea8401bf15f79fb54f8edb6f1bd98c92e9480b..b91d069f13a140de0549433f4009370a600a656a 100644 (file)
@@ -107,19 +107,6 @@ function _greenwich_civix_civicrm_config(&$config = NULL) {
   set_include_path($include_path);
 }
 
-/**
- * (Delegated) Implements hook_civicrm_xmlMenu().
- *
- * @param $files array(string)
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
- */
-function _greenwich_civix_civicrm_xmlMenu(&$files) {
-  foreach (_greenwich_civix_glob(__DIR__ . '/xml/Menu/*.xml') as $file) {
-    $files[] = $file;
-  }
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index 767fe36f24d1593923bec4e04760a96d77390597..5a0fa917ad239182e522c1aed993eff0d503323d 100644 (file)
@@ -14,15 +14,6 @@ function greenwich_civicrm_config(&$config) {
   _greenwich_civix_civicrm_config($config);
 }
 
-///**
-// * Implements hook_civicrm_xmlMenu().
-// *
-// * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
-// */
-//function greenwich_civicrm_xmlMenu(&$files) {
-//  _greenwich_civix_civicrm_xmlMenu($files);
-//}
-
 /**
  * Implements hook_civicrm_themes().
  */
index be171be39d5db9299b6cfba5e6ff84187e345467..e8653c1e209c7de844e9f2be3905ee80f8bef777 100644 (file)
@@ -107,19 +107,6 @@ function _payflowpro_civix_civicrm_config(&$config = NULL) {
   set_include_path($include_path);
 }
 
-/**
- * (Delegated) Implements hook_civicrm_xmlMenu().
- *
- * @param $files array(string)
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
- */
-function _payflowpro_civix_civicrm_xmlMenu(&$files) {
-  foreach (_payflowpro_civix_glob(__DIR__ . '/xml/Menu/*.xml') as $file) {
-    $files[] = $file;
-  }
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index ce9fb9a4cc98df2d8cbbb3433a1d2967cce37763..561f59dec175292eca6a8d2c5c13ccc4e422f1c8 100644 (file)
@@ -14,15 +14,6 @@ function payflowpro_civicrm_config(&$config) {
   _payflowpro_civix_civicrm_config($config);
 }
 
-/**
- * Implements hook_civicrm_xmlMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
- */
-function payflowpro_civicrm_xmlMenu(&$files) {
-  _payflowpro_civix_civicrm_xmlMenu($files);
-}
-
 /**
  * Implements hook_civicrm_install().
  *
index dbffde5c95ee7c3862c4fd5f2877d1fb724288d2..9b14848c8eb85f291fe2d6aaecd704798078fef0 100644 (file)
@@ -107,19 +107,6 @@ function _sequentialcreditnotes_civix_civicrm_config(&$config = NULL) {
   set_include_path($include_path);
 }
 
-/**
- * (Delegated) Implements hook_civicrm_xmlMenu().
- *
- * @param $files array(string)
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_xmlMenu
- */
-function _sequentialcreditnotes_civix_civicrm_xmlMenu(&$files) {
-  foreach (_sequentialcreditnotes_civix_glob(__DIR__ . '/xml/Menu/*.xml') as $file) {
-    $files[] = $file;
-  }
-}
-
 /**
  * Implements hook_civicrm_install().
  *