//remove PS_HIGH_HTML_THEME_COMPRESSION and all code related to this option
This commit is contained in:
@@ -269,25 +269,6 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
'type' => 'radio',
|
||||
'label' => $this->l('High risk HTML compression'),
|
||||
'name' => 'PS_HIGH_HTML_THEME_COMPRESSION',
|
||||
'class' => 't',
|
||||
'br' => true,
|
||||
'values' => array(
|
||||
array(
|
||||
'id' => 'PS_HIGH_HTML_THEME_COMPRESSION_1',
|
||||
'value' => 1,
|
||||
'label' => $this->l('HTML is compressed but cancels the W3C validation (only when "Minify HTML" is enabled)')
|
||||
),
|
||||
array(
|
||||
'id' => 'PS_HIGH_HTML_THEME_COMPRESSION_0',
|
||||
'value' => 0,
|
||||
'label' => $this->l('Keep W3C validation')
|
||||
)
|
||||
)
|
||||
),
|
||||
array(
|
||||
'type' => 'radio',
|
||||
'label' => $this->l('Apache optimization'),
|
||||
@@ -315,7 +296,6 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
$this->fields_value['PS_JS_THEME_CACHE'] = Configuration::get('PS_JS_THEME_CACHE');
|
||||
$this->fields_value['PS_HTML_THEME_COMPRESSION'] = Configuration::get('PS_HTML_THEME_COMPRESSION');
|
||||
$this->fields_value['PS_JS_HTML_THEME_COMPRESSION'] = Configuration::get('PS_JS_HTML_THEME_COMPRESSION');
|
||||
$this->fields_value['PS_HIGH_HTML_THEME_COMPRESSION'] = Configuration::get('PS_HIGH_HTML_THEME_COMPRESSION');
|
||||
$this->fields_value['PS_HTACCESS_CACHE_CONTROL'] = Configuration::get('PS_HTACCESS_CACHE_CONTROL');
|
||||
$this->fields_value['ccc_up'] = 1;
|
||||
}
|
||||
@@ -640,7 +620,6 @@ class AdminPerformanceControllerCore extends AdminController
|
||||
!Configuration::updateValue('PS_JS_THEME_CACHE', (int)Tools::getValue('PS_JS_THEME_CACHE')) ||
|
||||
!Configuration::updateValue('PS_HTML_THEME_COMPRESSION', (int)Tools::getValue('PS_HTML_THEME_COMPRESSION')) ||
|
||||
!Configuration::updateValue('PS_JS_HTML_THEME_COMPRESSION', (int)Tools::getValue('PS_JS_HTML_THEME_COMPRESSION')) ||
|
||||
!Configuration::updateValue('PS_HIGH_HTML_THEME_COMPRESSION', (int)Tools::getValue('PS_HIGH_HTML_THEME_COMPRESSION')) ||
|
||||
!Configuration::updateValue('PS_HTACCESS_CACHE_CONTROL', (int)Tools::getValue('PS_HTACCESS_CACHE_CONTROL')))
|
||||
$this->errors[] = Tools::displayError('Unknown error.');
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user