Browse Source

Merge branch 'develop' of https://forge.laclic.fr/Laclic/SovBundle into develop

develop
Fab 3 years ago
parent
commit
2a9ebd08b3
3 changed files with 6 additions and 0 deletions
  1. +2
    -0
      Factory/Site/NewsFactory.php
  2. +2
    -0
      Factory/Site/PageFactory.php
  3. +2
    -0
      Factory/User/GroupUserFactory.php

+ 2
- 0
Factory/Site/NewsFactory.php View File

@@ -12,6 +12,8 @@ class NewsFactory extends AbstractFactory implements NewsFactoryInterface
{
$news = new News();

$news->setStatus(1);

return $news;
}


+ 2
- 0
Factory/Site/PageFactory.php View File

@@ -12,6 +12,8 @@ class PageFactory extends AbstractFactory implements PageFactoryInterface
{
$page = new Page();

$page->setStatus(1);

return $page;
}
}

+ 2
- 0
Factory/User/GroupUserFactory.php View File

@@ -12,6 +12,8 @@ class GroupUserFactory extends AbstractFactory implements GroupUserFactoryInterf
{
$groupUser = new GroupUser();

$groupUser->setStatus(1);

return $groupUser;
}
}

Loading…
Cancel
Save