fix typo and remove url generation in postInsert model
This commit is contained in:
@@ -2,8 +2,14 @@
|
||||
|
||||
namespace Thelia\Model;
|
||||
|
||||
use Propel\Runtime\Connection\ConnectionInterface;
|
||||
use Thelia\Model\Base\FolderI18n as BaseFolderI18n;
|
||||
|
||||
class FolderI18n extends BaseFolderI18n {
|
||||
|
||||
public function postInsert(ConnectionInterface $con = null)
|
||||
{
|
||||
$folder = $this->getFolder();
|
||||
$folder->generateRewrittenUrl($this->getLocale());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user