Skip to content

Commit

Permalink
refs #31505, change module name to prevent drupal installer wrong dep…
Browse files Browse the repository at this point in the history
…endencies
  • Loading branch information
jimyhuang committed Jul 29, 2021
1 parent 8d2bbdd commit 50d2485
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ name = backer auto import
description = Auto import backer contribution into crm

version = 7.x-1.0
package = Others
package = netiCRM
core = 7.x
dependencies[] = civicrm
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

function backer_auto_import_install() {
function civicrm_backer_autoimport_install() {
civicrm_initialize();

$exists = CRM_Core_DAO::singleValueQuery("SELECT id FROM civicrm_payment_processor_type WHERE class_name LIKE 'Payment_Backer'");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

function backer_auto_import_ipn($project_id) {
function civicrm_backer_autoimport_ipn($project_id) {
$input = file_get_contents('php://input');
$saved = 0;
if (!empty($input)) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

function backer_auto_import_menu() {
function civicrm_backer_autoimport_menu() {
$items = array();
$items['backer-founder/ipn/%'] = array(
'access callback' => true,
'page callback' => 'backer_auto_import_ipn',
'page callback' => 'civicrm_backer_autoimport_ipn',
'type' => MENU_CALLBACK,
'weight' => 0,
'file' => 'backer_auto_import.ipn.inc',
'file' => 'civicrm_backer_autoimport.ipn.inc',
);
return $items;
}

0 comments on commit 50d2485

Please sign in to comment.