ninegate
Cadoles/nineskeletor/pipeline/head There was a failure building this commit Details

This commit is contained in:
afornerot 2023-01-23 11:32:19 +01:00
parent 0dcd6349c0
commit 0702f03c3f
5 changed files with 0 additions and 7 deletions

View File

@ -20,7 +20,6 @@ class HomeController extends AbstractController
// Calcul des pages de l'utilisateur // Calcul des pages de l'utilisateur
$em->getRepository("App\Entity\Page")->getPagesUser($this->getUser(), $id, $pagecurrent, $pagesportal, $pagesuser, $groups); $em->getRepository("App\Entity\Page")->getPagesUser($this->getUser(), $id, $pagecurrent, $pagesportal, $pagesuser, $groups);
dump($groups);
// si aucune page = page par défaut // si aucune page = page par défaut
if ($pagecurrent) { if ($pagecurrent) {

View File

@ -581,8 +581,6 @@ class RegistrationController extends AbstractController
$request->getSession()->getFlashBag()->add('error', 'Mail inconnu'); $request->getSession()->getFlashBag()->add('error', 'Mail inconnu');
// Affichage du formulaire // Affichage du formulaire
dump('here');
return $this->render($this->twig.'resetpwd01.html.twig', [ return $this->render($this->twig.'resetpwd01.html.twig', [
'useheader' => true, 'useheader' => true,
'usemenu' => false, 'usemenu' => false,

View File

@ -26,8 +26,6 @@ class UserController extends AbstractController
throw $this->createAccessDeniedException('Permission denied'); throw $this->createAccessDeniedException('Permission denied');
} }
dump($em->getRepository($this->entity)->getPreference($this->getUser(), 'userisactive', true));
return $this->render($this->twig.'list.html.twig', [ return $this->render($this->twig.'list.html.twig', [
'useheader' => true, 'useheader' => true,
'usemenu' => false, 'usemenu' => false,

View File

@ -77,7 +77,6 @@ class PagewidgetType extends AbstractType
->add('idicon', HiddenType::class, ['mapped' => false, 'data' => $options['idicon']]); ->add('idicon', HiddenType::class, ['mapped' => false, 'data' => $options['idicon']]);
foreach ($options['param']['fields'] as $field) { foreach ($options['param']['fields'] as $field) {
dump($field);
if ('string' == $field['type']) { if ('string' == $field['type']) {
$builder $builder
->add($field['id'], TextType::class, [ ->add($field['id'], TextType::class, [

View File

@ -34,7 +34,6 @@ class UserRepository extends ServiceEntityRepository
public function getPreference(User $entity, $key, $default) public function getPreference(User $entity, $key, $default)
{ {
$preference = $entity->getPreference(); $preference = $entity->getPreference();
dump($preference);
if (is_array($preference)) { if (is_array($preference)) {
if (array_key_exists($key, $preference)) { if (array_key_exists($key, $preference)) {
return $preference[$key][0]; return $preference[$key][0];