fix typo and remove url generation in postInsert model

This commit is contained in:
Manuel Raynaud
2013-09-17 20:29:09 +02:00
parent f068539e79
commit e4b36098c7
8 changed files with 14 additions and 14 deletions

View File

@@ -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());
}
}