Delete unused boilerplate comments
authorcolemanw <coleman@civicrm.org>
Mon, 17 Jul 2023 18:17:41 +0000 (14:17 -0400)
committercolemanw <coleman@civicrm.org>
Mon, 17 Jul 2023 20:47:24 +0000 (16:47 -0400)
ext/authx/authx.php
ext/civicrm_search_ui/civicrm_search_ui.php
ext/ckeditor4/ckeditor4.php
ext/elavon/elavon.php
ext/ewaysingle/ewaysingle.php
ext/financialacls/financialacls.php
ext/message_admin/message_admin.php
ext/payflowpro/payflowpro.php
ext/standaloneusers/standaloneusers.php
tests/extensions/shimmy/shimmy.php

index d8a1f13b32c1f1478ea2a7d0983d1b270f044199..01091f9b2bf8eee8fe7e4250fe7de899dbe13d30 100644 (file)
@@ -128,17 +128,6 @@ function authx_civicrm_permission(&$permissions) {
   $permissions['validate any authx credential'] = E::ts('Authx: Validate credentials for other users via the API');
 }
 
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function authx_civicrm_preProcess($formName, &$form) {
-//
-//}
-
 /**
  * Implements hook_civicrm_navigationMenu().
  *
index a528bf4614aa17462fef73077f3180f1e65f1e2f..7b15fe19ac4a9fc94cce8192aae538423779b8b2 100644 (file)
@@ -31,31 +31,3 @@ function civicrm_search_ui_civicrm_install(): void {
 function civicrm_search_ui_civicrm_enable(): void {
   _civicrm_search_ui_civix_civicrm_enable();
 }
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function civicrm_search_ui_civicrm_preProcess($formName, &$form): void {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function civicrm_search_ui_civicrm_navigationMenu(&$menu): void {
-//  _civicrm_search_ui_civix_insert_navigation_menu($menu, 'Mailings', [
-//    'label' => E::ts('New subliminal message'),
-//    'name' => 'mailing_subliminal_message',
-//    'url' => 'civicrm/mailing/subliminal',
-//    'permission' => 'access CiviMail',
-//    'operator' => 'OR',
-//    'separator' => 0,
-//  ]);
-//  _civicrm_search_ui_civix_navigationMenu($menu);
-//}
index 5bd699dccc2e2a9525a4d4b376d5a8225630c223..e47d3b96d6733f0433d546ea9e1a044da76cd323 100644 (file)
@@ -64,31 +64,3 @@ function ckeditor4_civicrm_coreResourceList(&$list, $region) {
     ];
   }
 }
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function ckeditor4_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function ckeditor4_civicrm_navigationMenu(&$menu) {
-//  _ckeditor4_civix_insert_navigation_menu($menu, 'Mailings', array(
-//    'label' => E::ts('New subliminal message'),
-//    'name' => 'mailing_subliminal_message',
-//    'url' => 'civicrm/mailing/subliminal',
-//    'permission' => 'access CiviMail',
-//    'operator' => 'OR',
-//    'separator' => 0,
-//  ));
-//  _ckeditor4_civix_navigationMenu($menu);
-//}
index 382861606a0561ce3d4dec7deeb500ca1e9cf2fa..7bd31d211003ee826908308623cb2deb846f1c00 100644 (file)
@@ -78,31 +78,3 @@ function elavon_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
 function elavon_civicrm_entityTypes(&$entityTypes) {
   _elavon_civix_civicrm_entityTypes($entityTypes);
 }
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function elavon_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function elavon_civicrm_navigationMenu(&$menu) {
-//  _elavon_civix_insert_navigation_menu($menu, 'Mailings', [
-//    'label' => E::ts('New subliminal message'),
-//    'name' => 'mailing_subliminal_message',
-//    'url' => 'civicrm/mailing/subliminal',
-//    'permission' => 'access CiviMail',
-//    'operator' => 'OR',
-//    'separator' => 0,
-//  ]);
-//  _elavon_civix_navigationMenu($menu);
-//}
index 9347754258e714a66d9846e667d16f6b05dfe596..9c146e341bf5635b7a06f75b8d7e0fa4d2023375 100644 (file)
@@ -78,31 +78,3 @@ function ewaysingle_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
 function ewaysingle_civicrm_entityTypes(&$entityTypes) {
   _ewaysingle_civix_civicrm_entityTypes($entityTypes);
 }
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function ewaysingle_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function ewaysingle_civicrm_navigationMenu(&$menu) {
-//  _ewaysingle_civix_insert_navigation_menu($menu, 'Mailings', array(
-//    'label' => E::ts('New subliminal message'),
-//    'name' => 'mailing_subliminal_message',
-//    'url' => 'civicrm/mailing/subliminal',
-//    'permission' => 'access CiviMail',
-//    'operator' => 'OR',
-//    'separator' => 0,
-//  ));
-//  _ewaysingle_civix_navigationMenu($menu);
-//}
index 8dea84fe6fe9bbca2a8309a6aeb51f3e2b5c3aa4..3265558fedd9811b885821b1589e8401c94e660a 100644 (file)
@@ -372,17 +372,6 @@ function financialacls_toggle() {
   unset(\Civi::$statics['CRM_Financial_BAO_FinancialType']);
 }
 
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function financialacls_civicrm_preProcess($formName, &$form) {
-//
-//}
-
 /**
  * Require financial acl permissions for financial screens.
  *
@@ -394,20 +383,3 @@ function financialacls_civicrm_alterMenu(array &$menu): void {
   }
   $menu['civicrm/admin/financial/financialType']['access_arguments'] = [['administer CiviCRM Financial Types']];
 }
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function financialacls_civicrm_navigationMenu(&$menu) {
-//  _financialacls_civix_insert_navigation_menu($menu, 'Mailings', array(
-//    'label' => E::ts('New subliminal message'),
-//    'name' => 'mailing_subliminal_message',
-//    'url' => 'civicrm/mailing/subliminal',
-//    'permission' => 'access CiviMail',
-//    'operator' => 'OR',
-//    'separator' => 0,
-//  ));
-//  _financialacls_civix_navigationMenu($menu);
-//}
index 41fa59a3461112ac342b3d59d81c38aa6e9d5d4e..6cb86bb49c2853a6733fbed24e8447f20b4e0dbc 100644 (file)
@@ -31,31 +31,3 @@ function message_admin_civicrm_install() {
 function message_admin_civicrm_enable() {
   _message_admin_civix_civicrm_enable();
 }
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function message_admin_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function message_admin_civicrm_navigationMenu(&$menu) {
-//  _message_admin_civix_insert_navigation_menu($menu, 'Mailings', array(
-//    'label' => E::ts('New subliminal message'),
-//    'name' => 'mailing_subliminal_message',
-//    'url' => 'civicrm/mailing/subliminal',
-//    'permission' => 'access CiviMail',
-//    'operator' => 'OR',
-//    'separator' => 0,
-//  ));
-//  _message_admin_civix_navigationMenu($menu);
-//}
index e4f8cd8ab7aa0bdcdb6a5e5f5b4e2b205fefb83e..3479e41c73449c595183daba39d69147313cbce2 100644 (file)
@@ -78,31 +78,3 @@ function payflowpro_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
 function payflowpro_civicrm_entityTypes(&$entityTypes) {
   _payflowpro_civix_civicrm_entityTypes($entityTypes);
 }
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function payflowpro_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function payflowpro_civicrm_navigationMenu(&$menu) {
-//  _payflowpro_civix_insert_navigation_menu($menu, 'Mailings', array(
-//    'label' => E::ts('New subliminal message'),
-//    'name' => 'mailing_subliminal_message',
-//    'url' => 'civicrm/mailing/subliminal',
-//    'permission' => 'access CiviMail',
-//    'operator' => 'OR',
-//    'separator' => 0,
-//  ));
-//  _payflowpro_civix_navigationMenu($menu);
-//}
index d3bae6f5d26cede9d8ada132b4f94971116bd396..9bdb964792a67bde7ccf8d2b5eb9cae96535ba7b 100644 (file)
@@ -31,36 +31,3 @@ function standaloneusers_civicrm_install() {
 function standaloneusers_civicrm_enable() {
   _standaloneusers_civix_civicrm_enable();
 }
-
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function standaloneusers_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-// function standaloneusers_civicrm_navigationMenu(&$menu) {
-//   _standalineusers_addUserMenus($menu);
-// }
-
-// function _standaloneusers_addUserMenus(&$menu) {
-//   _standaloneusers_civix_insert_navigation_menu($menu, 'Administer/Users and Permissions', [
-//     'label' => E::ts('Users'),
-//     'name' => 'admin_users',
-//     'url' => 'civicrm/search#/display/Users/Users',
-//     'permission' => 'cms:administer users',
-//     'operator' => 'OR',
-//     'separator' => 0,
-//     'weight' => 0,
-//   ]);
-//   _standaloneusers_civix_navigationMenu($menu);
-// }
index b78168fd351cd0e15f81f80a743820685da8835a..756c4a9b3ea152086254f2250a23318d29fd2cdb 100644 (file)
@@ -79,34 +79,6 @@ function shimmy_civicrm_entityTypes(&$entityTypes) {
   _shimmy_civix_civicrm_entityTypes($entityTypes);
 }
 
-// --- Functions below this ship commented out. Uncomment as required. ---
-
-/**
- * Implements hook_civicrm_preProcess().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_preProcess
- */
-//function shimmy_civicrm_preProcess($formName, &$form) {
-//
-//}
-
-/**
- * Implements hook_civicrm_navigationMenu().
- *
- * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_navigationMenu
- */
-//function shimmy_civicrm_navigationMenu(&$menu) {
-//  _shimmy_civix_insert_navigation_menu($menu, 'Mailings', array(
-//    'label' => E::ts('New subliminal message'),
-//    'name' => 'mailing_subliminal_message',
-//    'url' => 'civicrm/mailing/subliminal',
-//    'permission' => 'access CiviMail',
-//    'operator' => 'OR',
-//    'separator' => 0,
-//  ));
-//  _shimmy_civix_navigationMenu($menu);
-//}
-
 /**
  * Assert that there is a service with a given name+type.
  *