// Meta creation does not regenerate htaccess anymore
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11807 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
e489addaf7
commit
8f88afd9bc
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