// Moved useless code into the block where it is useful

This commit is contained in:
Damien Metzger
2013-07-22 10:49:41 +02:00
parent 3483706951
commit 3556e75ce3
2 changed files with 7 additions and 8 deletions
+1 -2
View File
@@ -1390,8 +1390,7 @@ class CategoryCore extends ObjectModel
SELECT DISTINCT c.*
FROM `'._DB_PREFIX_.'category` c
LEFT JOIN `'._DB_PREFIX_.'category_lang` cl ON (c.`id_category` = cl.`id_category` AND cl.`id_lang` = '.(int)Context::getContext()->language->id.')
WHERE `level_depth` = 1
');
WHERE `level_depth` = 1');
}
public function isRootCategoryForAShop()