Files
sterivein/core/lib/Thelia/Model/ContentI18n.php
Manuel Raynaud 1974d3e3c3 fix psr
2014-01-22 12:52:36 +01:00

15 lines
360 B
PHP

<?php
namespace Thelia\Model;
use Propel\Runtime\Connection\ConnectionInterface;
use Thelia\Model\Base\ContentI18n as BaseContentI18n;
class ContentI18n extends BaseContentI18n {
public function postInsert(ConnectionInterface $con = null)
{
$content = $this->getContent();
$content->generateRewrittenUrl($this->getLocale());
}
}