catalog/includes/apps/paypal/modules/EC/EC.php 1 location
|
@@ 59-68 (lines=10) @@
|
| 56 |
|
$OSCOM_PayPal->saveParameter('MODULE_PAYMENT_INSTALLED', implode(';', $installed)); |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
function uninstall($OSCOM_PayPal) { |
| 60 |
|
$installed = explode(';', MODULE_PAYMENT_INSTALLED); |
| 61 |
|
$installed_pos = array_search($this->_pm_code . '.php', $installed); |
| 62 |
|
|
| 63 |
|
if ( $installed_pos !== false ) { |
| 64 |
|
unset($installed[$installed_pos]); |
| 65 |
|
|
| 66 |
|
$OSCOM_PayPal->saveParameter('MODULE_PAYMENT_INSTALLED', implode(';', $installed)); |
| 67 |
|
} |
| 68 |
|
} |
| 69 |
|
|
| 70 |
|
function canMigrate() { |
| 71 |
|
return $this->doMigrationCheck($this->_pm_code) || $this->doMigrationCheck($this->_pm_pf_code); |
catalog/includes/apps/paypal/modules/HS/HS.php 1 location
|
@@ 58-67 (lines=10) @@
|
| 55 |
|
$OSCOM_PayPal->saveParameter('MODULE_PAYMENT_INSTALLED', implode(';', $installed)); |
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
function uninstall($OSCOM_PayPal) { |
| 59 |
|
$installed = explode(';', MODULE_PAYMENT_INSTALLED); |
| 60 |
|
$installed_pos = array_search($this->_pm_code . '.php', $installed); |
| 61 |
|
|
| 62 |
|
if ( $installed_pos !== false ) { |
| 63 |
|
unset($installed[$installed_pos]); |
| 64 |
|
|
| 65 |
|
$OSCOM_PayPal->saveParameter('MODULE_PAYMENT_INSTALLED', implode(';', $installed)); |
| 66 |
|
} |
| 67 |
|
} |
| 68 |
|
|
| 69 |
|
function canMigrate() { |
| 70 |
|
$class = $this->_pm_code; |
catalog/includes/apps/paypal/modules/DP/DP.php 1 location
|
@@ 63-72 (lines=10) @@
|
| 60 |
|
$OSCOM_PayPal->saveParameter('MODULE_PAYMENT_INSTALLED', implode(';', $installed)); |
| 61 |
|
} |
| 62 |
|
|
| 63 |
|
function uninstall($OSCOM_PayPal) { |
| 64 |
|
$installed = explode(';', MODULE_PAYMENT_INSTALLED); |
| 65 |
|
$installed_pos = array_search($this->_pm_code . '.php', $installed); |
| 66 |
|
|
| 67 |
|
if ( $installed_pos !== false ) { |
| 68 |
|
unset($installed[$installed_pos]); |
| 69 |
|
|
| 70 |
|
$OSCOM_PayPal->saveParameter('MODULE_PAYMENT_INSTALLED', implode(';', $installed)); |
| 71 |
|
} |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
function canMigrate() { |
| 75 |
|
return $this->doMigrationCheck($this->_pm_code) || $this->doMigrationCheck($this->_pm_pf_code); |
catalog/includes/apps/paypal/modules/PS/PS.php 1 location
|
@@ 62-71 (lines=10) @@
|
| 59 |
|
$OSCOM_PayPal->saveParameter('MODULE_PAYMENT_INSTALLED', implode(';', $installed)); |
| 60 |
|
} |
| 61 |
|
|
| 62 |
|
function uninstall($OSCOM_PayPal) { |
| 63 |
|
$installed = explode(';', MODULE_PAYMENT_INSTALLED); |
| 64 |
|
$installed_pos = array_search($this->_pm_code . '.php', $installed); |
| 65 |
|
|
| 66 |
|
if ( $installed_pos !== false ) { |
| 67 |
|
unset($installed[$installed_pos]); |
| 68 |
|
|
| 69 |
|
$OSCOM_PayPal->saveParameter('MODULE_PAYMENT_INSTALLED', implode(';', $installed)); |
| 70 |
|
} |
| 71 |
|
} |
| 72 |
|
|
| 73 |
|
function canMigrate() { |
| 74 |
|
$class = $this->_pm_code; |