// Merge -> revision 8076
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<module>
|
||||
<name>ogone</name>
|
||||
<displayName><![CDATA[Ogone]]></displayName>
|
||||
<version><![CDATA[2.0]]></version>
|
||||
<version><![CDATA[2.1]]></version>
|
||||
<description><![CDATA[]]></description>
|
||||
<author><![CDATA[]]></author>
|
||||
<tab><![CDATA[payments_gateways]]></tab>
|
||||
|
||||
@@ -36,12 +36,19 @@ class Ogone extends PaymentModule
|
||||
{
|
||||
$this->name = 'ogone';
|
||||
$this->tab = 'payments_gateways';
|
||||
$this->version = '2.0';
|
||||
$this->version = '2.1';
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->displayName = 'Ogone';
|
||||
$this->description = '';
|
||||
|
||||
/* For 1.4.3 and less compatibility */
|
||||
$updateConfig = array('PS_OS_CHEQUE', 'PS_OS_PAYMENT', 'PS_OS_PREPARATION', 'PS_OS_SHIPPING', 'PS_OS_CANCELED', 'PS_OS_REFUND', 'PS_OS_ERROR', 'PS_OS_OUTOFSTOCK', 'PS_OS_BANKWIRE', 'PS_OS_PAYPAL', 'PS_OS_WS_PAYMENT');
|
||||
if (!Configuration::get('PS_OS_PAYMENT'))
|
||||
foreach ($updateConfig as $u)
|
||||
if (!Configuration::get($u) && defined('_'.$u.'_'))
|
||||
Configuration::updateValue($u, constant('_'.$u.'_'));
|
||||
}
|
||||
|
||||
public function install()
|
||||
|
||||
Reference in New Issue
Block a user