Skip to content

Commit

Permalink
compatibility witl old PHP (replace [] with array())
Browse files Browse the repository at this point in the history
  • Loading branch information
tangar76 committed Feb 15, 2017
1 parent 0d0c256 commit ba243cf
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class TM_Core_Model_Resource_Module_RemoteCollection extends Varien_Data_Collect

public function getMapping()
{
return [
return array(
'name' => 'name',
'code' => 'code',
'description' => 'description',
Expand All @@ -25,7 +25,7 @@ public function getMapping()
'extra.tm.links.marketplace' => 'marketplace_link',
'extra.tm.links.identity_key' => 'identity_key_link',
'extra.tm.purchase_code' => 'purchase_code',
];
);
}

/**
Expand Down Expand Up @@ -78,22 +78,22 @@ public function loadData($printQuery = false, $logQuery = false)
}
}
}
$modules['Swissup_Subscription'] = [
$modules['Swissup_Subscription'] = array(
'name' => 'swissup/subscription',
'code' => 'Swissup_Subscription',
'type' => 'subscription-plan',
'description' => 'SwissUpLabs Modules Subscription',
'version' => '',
'extra' => [
'swissup' => [
'links' => [
'extra' => array(
'swissup' => array(
'links' => array(
'store' => 'https://swissuplabs.com',
'download' => 'https://swissuplabs.com/subscription/customer/products/',
'identity_key' => 'https://swissuplabs.com/license/customer/identity/'
]
]
]
];
)
)
)
);

// fix for argento themes
if (isset($modules['TM_Argento'])) {
Expand Down

0 comments on commit ba243cf

Please sign in to comment.