Skip to content

Commit

Permalink
// Normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
mDeflotte committed Jun 18, 2012
1 parent f24f670 commit 0bc8760
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions controllers/admin/AdminModulesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ class AdminModulesControllerCore extends AdminController
protected $cache_file_default_country_modules_list = '/config/xml/default_country_modules_list.xml';
protected $cache_file_customer_modules_list = '/config/xml/customer_modules_list.xml';

/*
** Admin Modules Controller Constructor
** Init list modules categories
** Load id employee
** Load filter configuration
** Load cache file
*/
/**
* Admin Modules Controller Constructor
* Init list modules categories
* Load id employee
* Load filter configuration
* Load cache file
*/

public function __construct()
{
Expand Down Expand Up @@ -132,14 +132,14 @@ public function __construct()
$this->logged_on_addons = true;
}

/*
** Ajax Request Methods
**
** if modules_list.xml is outdated,
** this function will re-upload it from prestashop.com
**
** @return null
*/
/**
* Ajax Request Methods
*
* if modules_list.xml is outdated,
* this function will re-upload it from prestashop.com
*
* @return null
*/

public function isFresh($file, $timeout = 604800000)
{
Expand Down Expand Up @@ -200,12 +200,12 @@ public function addonsRequest($request, $params = array())

// Make the request
$opts = array(
'http'=>array(
'http'=>array(
'method'=> 'POST',
'content' => $postData,
'header' => 'Content-type: application/x-www-form-urlencoded',
'timeout' => 5,
)
)
);
$context = stream_context_create($opts);
foreach ($protocolsList as $protocol => $port)
Expand Down

0 comments on commit 0bc8760

Please sign in to comment.