From b4c28abab23d67ba6d29fbfebe9663adb036b9a4 Mon Sep 17 00:00:00 2001 From: Bertrand Gauthier <bertrand.gauthier@unicaen.fr> Date: Tue, 7 Feb 2017 14:30:30 +0000 Subject: [PATCH] =?UTF-8?q?Aide=20de=20vue=20FormControlGroup=20:=20=20cor?= =?UTF-8?q?rection=20du=20rendu=20particulier=20des=20checkbox=20simple=20?= =?UTF-8?q?:=20utilisation=20du=20marquage=20fourni=20par=20bootstrap=20(u?= =?UTF-8?q?nicaen.css=20modifi=C3=A9).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/UnicaenFaq/Service/FaqService.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/UnicaenFaq/Service/FaqService.php b/src/UnicaenFaq/Service/FaqService.php index 903b7b4..5e63326 100644 --- a/src/UnicaenFaq/Service/FaqService.php +++ b/src/UnicaenFaq/Service/FaqService.php @@ -42,13 +42,13 @@ class FaqService implements EntityManagerAwareInterface */ public function checkSchema() { - $tableName = $this->entityManager->getClassMetadata($this->faqEntityClass)->getTableName(); - $q = "select count(*) from ALL_TABLES where UPPER(TABLE_NAME) = UPPER(:tablename)"; - $s = $this->entityManager->getConnection()->executeQuery($q, ['tablename' => $tableName]); - $count = (int) $s->fetchColumn(0); - if ($count === 0) { - throw new LogicException("La table $tableName est introuvable"); - } +// $tableName = $this->entityManager->getClassMetadata($this->faqEntityClass)->getTableName(); +// $q = "select count(*) from ALL_TABLES where UPPER(TABLE_NAME) = UPPER(:tablename)"; +// $s = $this->entityManager->getConnection()->executeQuery($q, ['tablename' => $tableName]); +// $count = (int) $s->fetchColumn(0); +// if ($count === 0) { +// throw new LogicException("La table $tableName est introuvable"); +// } } /** -- GitLab