ninegate
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
Details
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
0dcd6349c0
commit
0702f03c3f
|
@ -20,7 +20,6 @@ class HomeController extends AbstractController
|
|||
|
||||
// Calcul des pages de l'utilisateur
|
||||
$em->getRepository("App\Entity\Page")->getPagesUser($this->getUser(), $id, $pagecurrent, $pagesportal, $pagesuser, $groups);
|
||||
dump($groups);
|
||||
|
||||
// si aucune page = page par défaut
|
||||
if ($pagecurrent) {
|
||||
|
|
|
@ -581,8 +581,6 @@ class RegistrationController extends AbstractController
|
|||
$request->getSession()->getFlashBag()->add('error', 'Mail inconnu');
|
||||
|
||||
// Affichage du formulaire
|
||||
dump('here');
|
||||
|
||||
return $this->render($this->twig.'resetpwd01.html.twig', [
|
||||
'useheader' => true,
|
||||
'usemenu' => false,
|
||||
|
|
|
@ -26,8 +26,6 @@ class UserController extends AbstractController
|
|||
throw $this->createAccessDeniedException('Permission denied');
|
||||
}
|
||||
|
||||
dump($em->getRepository($this->entity)->getPreference($this->getUser(), 'userisactive', true));
|
||||
|
||||
return $this->render($this->twig.'list.html.twig', [
|
||||
'useheader' => true,
|
||||
'usemenu' => false,
|
||||
|
|
|
@ -77,7 +77,6 @@ class PagewidgetType extends AbstractType
|
|||
->add('idicon', HiddenType::class, ['mapped' => false, 'data' => $options['idicon']]);
|
||||
|
||||
foreach ($options['param']['fields'] as $field) {
|
||||
dump($field);
|
||||
if ('string' == $field['type']) {
|
||||
$builder
|
||||
->add($field['id'], TextType::class, [
|
||||
|
|
|
@ -34,7 +34,6 @@ class UserRepository extends ServiceEntityRepository
|
|||
public function getPreference(User $entity, $key, $default)
|
||||
{
|
||||
$preference = $entity->getPreference();
|
||||
dump($preference);
|
||||
if (is_array($preference)) {
|
||||
if (array_key_exists($key, $preference)) {
|
||||
return $preference[$key][0];
|
||||
|
|
Loading…
Reference in New Issue