Skip to content

Commit

Permalink
CIVIEWAY-245 eWAYRecurring.civix.php is missing a few _civix_civicrm_…
Browse files Browse the repository at this point in the history
… hook functions
  • Loading branch information
agileware-justin committed Jan 25, 2023
1 parent e5aca6c commit a2c398a
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions eWAYRecurring.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,6 @@ function ewayrecurring_civicrm_install() {
function ewayrecurring_civicrm_postInstall() {
// Update schemaVersion if added new version in upgrade process.
CRM_Core_BAO_Extension::setSchemaVersion('au.com.agileware.ewayrecurring', 20200);
_ewayrecurring_civix_civicrm_postInstall();
}

/**
* Implements hook_civicrm_uninstall().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_uninstall
*/
function ewayrecurring_civicrm_uninstall() {
_ewayrecurring_civix_civicrm_uninstall();
}

/**
Expand All @@ -54,15 +44,6 @@ function ewayrecurring_civicrm_enable() {
_ewayrecurring_civix_civicrm_enable();
}

/**
* Implements hook_civicrm_disable().
*
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
*/
function ewayrecurring_civicrm_disable() {
_ewayrecurring_civix_civicrm_disable();
}

/**
* Implements hook_civicrm_upgrade().
*
Expand Down Expand Up @@ -152,7 +133,8 @@ function ewayrecurring_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
);
}
}
return _ewayrecurring_civix_civicrm_upgrade($op, $queue);
// @TODO Refactor the upgrader function to use the upgrader class
// return _ewayrecurring_civix_civicrm_upgrade($op, $queue);
}

/**
Expand Down Expand Up @@ -243,7 +225,6 @@ function ewayrecurring_civicrm_managed(&$entities) {
'is_active' => '1',
],
];
_ewayrecurring_civix_civicrm_managed($entities);
}

/**
Expand Down Expand Up @@ -425,6 +406,7 @@ function validateEwayContribution($paymentProcessor, $invoiceID) {
require_once extensionPath('vendor/autoload.php');

$contribution = $contribution['values'][0];
// @TODO $form is an undefined variable
$eWayAccessCode = CRM_Utils_Request::retrieve('AccessCode', 'String', $form, FALSE, "");
$qfKey = CRM_Utils_Request::retrieve('qfKey', 'String', $form, FALSE, "");

Expand Down

0 comments on commit a2c398a

Please sign in to comment.