// small fix

This commit is contained in:
Rémi Gaillard committed 2013-02-21 15:24:33 +01:00
1 parent eeb0f504d4
commit b6db160c47
3 files changed
+1 -12

No files matched your search

+1 -1
View File
@@ -294,7 +294,7 @@ class ConfigurationTestCore
return ConfigurationTest::test_dir($dir); return ConfigurationTest::test_dir($dir);
} }
public static function test_mcrypt() public static function test_mbstring()
{ {
return function_exists('mb_strtolower'); return function_exists('mb_strtolower');
} }
-2
View File
@@ -70,8 +70,6 @@ class ConnectionCore extends ObjectModel
*/ */
public function getFields() public function getFields()
{ {
if (!$this->id_shop)
$this->id_shop = Context::getContext()->shop->id;
if (!$this->id_shop_group) if (!$this->id_shop_group)
$this->id_shop_group = Context::getContext()->shop->id_shop_group; $this->id_shop_group = Context::getContext()->shop->id_shop_group;
-9
View File
@@ -53,15 +53,6 @@ class PaymentCCCore extends OrderPayment
'primary' => 'id_payment_cc', 'primary' => 'id_payment_cc',
); );
/**
* @deprecated 1.5.0.2
* @see OrderPaymentCore
*/
public function getFields()
{
Tools::displayAsDeprecated();
return parent::getFields();
}
/** /**
* @deprecated 1.5.0.2 * @deprecated 1.5.0.2