Compare commits
No commits in common. "5147a2b105670114e7e9bfb7397c9ca76dfb8067" and "9a260e6ae50af9b260eb57c218a68271a3755bcc" have entirely different histories.
5147a2b105
...
9a260e6ae5
|
@ -168,18 +168,6 @@ class ScriptCommand extends Command
|
|||
$this->writeln("");
|
||||
}
|
||||
|
||||
$script=$this->em->getRepository("CadolesCoreBundle:Script")->findOneBy(["name"=>"updateorthographe02"]);
|
||||
if(!$script) {
|
||||
$this->writeln("== SCRIPT = updateorthographe02");
|
||||
$this->updateorthographe02();
|
||||
|
||||
$script=new Script();
|
||||
$script->setName("updateorthographe02");
|
||||
$this->em->persist($script);
|
||||
$this->em->flush();
|
||||
$this->writeln("");
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -422,17 +410,6 @@ class ScriptCommand extends Command
|
|||
}
|
||||
}
|
||||
|
||||
private function updateorthographe02(){
|
||||
$entityItem = $this->em->getRepository('CadolesPortalBundle:Item')->find(-398);
|
||||
if($entityItem) {
|
||||
if($entityItem->getSubtitle()!="Messagerie") {
|
||||
$entityItem->setSubtitle("Messagerie");
|
||||
$entityItem->setContent("Messagerie permettant la communication sécurisée par méls. La messagerie n’a pas pour but d’envoyer des gros fichiers mais plutôt de communiquer des informations, des liens.");
|
||||
$this->em->persist($entityItem);
|
||||
$this->em->flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -12,10 +12,6 @@ div.header {
|
|||
position: relative !important;
|
||||
}
|
||||
|
||||
#navbar-nameuser a {
|
||||
color: var(--main, #004d9a) !important;
|
||||
}
|
||||
|
||||
div.header > a > span {
|
||||
color: black !important;
|
||||
}
|
||||
|
|
|
@ -149,7 +149,7 @@ class Alert
|
|||
{
|
||||
$today = new \DateTime();
|
||||
if (null === $this->unpublishedat) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
if ($this->unpublishedat->getTimestamp() < $today->getTimestamp()) {
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue