Skip to content

Commit

Permalink
Remove duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslee001 committed Sep 10, 2023
1 parent 6ceedba commit 47ee333
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions ewayrecurring.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,6 @@ function ewayrecurring_civicrm_navigationMenu(&$menu) {
]);
}

/**
* Implements of hook_civicrm_alterSettingsFolders().
*
* @param array $metaDataFolders
*/
function ewayrecurring_civicrm_alterSettingsFolders(&$metaDataFolders) {
static $configured = FALSE;
if ($configured) {
return;
}
$configured = TRUE;

$extRoot = dirname(__FILE__) . DIRECTORY_SEPARATOR;
$extDir = $extRoot . 'settings';
if (!in_array($extDir, $metaDataFolders)) {
$metaDataFolders[] = $extDir;
}
}

/**
* Implements hook_civicrm_buildForm().
*
Expand Down

0 comments on commit 47ee333

Please sign in to comment.