// Meta creation does not regenerate htaccess anymore
This commit is contained in:
1 parent
16a8c6a170
commit
2ae614621f
1 file changed
-12
@@ -132,18 +132,6 @@ class MetaCore extends ObjectModel
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function add($autodate = true, $nullValues = false)
|
|
||||||
{
|
|
||||||
if (!parent::add($autodate, $nullValues));
|
|
||||||
|
|
||||||
return Tools::generateHtaccess(dirname(__FILE__).'/../.htaccess',
|
|
||||||
(int)Configuration::get('PS_REWRITING_SETTINGS'),
|
|
||||||
(int)Configuration::get('PS_HTACCESS_CACHE_CONTROL'),
|
|
||||||
'',
|
|
||||||
(int)Configuration::get('PS_HTACCESS_DISABLE_MULTIVIEWS')
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function delete()
|
public function delete()
|
||||||
{
|
{
|
||||||
if (!parent::delete())
|
if (!parent::delete())
|
||||||
|
|||||||
Reference in new issue
Block a user