remove unused code
This commit is contained in:
@@ -5,7 +5,6 @@ namespace Thelia\Model;
|
||||
use Propel\Runtime\ActiveQuery\Criteria;
|
||||
use Propel\Runtime\ActiveQuery\Join;
|
||||
|
||||
use Propel\Runtime\Propel;
|
||||
use Thelia\Model\Base\OrderQuery as BaseOrderQuery;
|
||||
|
||||
use Thelia\Model\Map\OrderProductTableMap;
|
||||
|
||||
@@ -91,8 +91,6 @@ trait UrlRewritingTrait
|
||||
|
||||
$urlFilePart = rtrim($cleanString, '.-~_') . ".html";
|
||||
|
||||
// TODO :
|
||||
// check if URL url already exists, and add a numeric suffix, or the like
|
||||
try {
|
||||
$i=0;
|
||||
while (URL::getInstance()->resolve($urlFilePart)) {
|
||||
|
||||
Reference in New Issue
Block a user