From 44cfe0433ab14c7be24b534eee3364db71b30738 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Wed, 15 Nov 2023 09:35:48 +0100 Subject: [PATCH] Petites corrections --- core/core.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/core.php b/core/core.php index 972dcb1..55e64b3 100644 --- a/core/core.php +++ b/core/core.php @@ -1198,7 +1198,6 @@ class common * @param string|array $to Destinataire * @param string $subject Sujet * @param string $content Contenu - * @return bool */ public function sendMail($to, $subject, $content, $replyTo = null, $from = 'no-reply@localhost') { @@ -1456,16 +1455,12 @@ class common switch ($this->getData(['user', $userId, 'signature'])) { case 1: return $userId; - break; case 2: return $this->getData(['user', $userId, 'pseudo']); - break; case 3: return $this->getData(['user', $userId, 'firstname']) . ' ' . $this->getData(['user', $userId, 'lastname']); - break; case 4: return $this->getData(['user', $userId, 'lastname']) . ' ' . $this->getData(['user', $userId, 'firstname']); - break; default: return $this->getData(['user', $userId, 'firstname']); }