start to create config process for Thelia
This commit is contained in:
@@ -18,10 +18,14 @@ use Thelia\Model\om\BaseModuleQuery;
|
||||
*/
|
||||
class ModuleQuery extends BaseModuleQuery
|
||||
{
|
||||
/**
|
||||
* @return array|mixed|\PropelObjectCollection
|
||||
*/
|
||||
public static function getActivated()
|
||||
{
|
||||
return self::create()
|
||||
->findByActivate(1)
|
||||
->find();
|
||||
->filterByActivate(1)
|
||||
->find()
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user