diff --git a/.htaccess b/.htaccess
index e6b8b07f..ab517324 100755
--- a/.htaccess
+++ b/.htaccess
@@ -943,3 +943,8 @@ order deny,allow
deny from all
+# Rules to disable WP Comments
+
+ Order allow,deny
+ Deny from all
+
\ No newline at end of file
diff --git a/content/plugins/ldc-messages/contact-list.php b/content/plugins/ldc-messages/contact-list.php
index a15e13fd..676055f1 100644
--- a/content/plugins/ldc-messages/contact-list.php
+++ b/content/plugins/ldc-messages/contact-list.php
@@ -17,7 +17,7 @@ function getContactsList()
'MessageTypeID' => 1, // Nous rejoindre en tant qu'éleveur
'MessageLabel' => 'Nous rejoindre en tant qu\'éleveur',
'contacts' => [
- 'marina.vinet@ldc.fr',
+ 'marie-charlotte.garnier@ldc.fr',
'dylan.chevalier@ldc.fr'
]
],
@@ -54,8 +54,8 @@ function getContactsList()
'MessageTypeID' => 3, // La finance
'MessageLabel' => 'La finance',
'contacts' => [
- 'olivier.frouin@ldc.fr',
- 'valerie.bernard@ldc.fr'
+ 'david.eluaud@ldc.fr',
+ 'malaury.offe@ldc.fr'
]
],
[
diff --git a/crons/DeleteLDCMessages.php b/crons/DeleteLDCMessages.php
new file mode 100644
index 00000000..a8ea5d57
--- /dev/null
+++ b/crons/DeleteLDCMessages.php
@@ -0,0 +1,15 @@
+query(
+ $wpdb->prepare("DELETE FROM wp_messages WHERE `DATE` < CURDATE() - INTERVAL %d YEAR", 3)
+ );
+}
+
+deleteOldLdcMessages();
diff --git a/rgpd/salaries/index.php b/rgpd/salaries/index.php
index 103243a6..c327f624 100644
--- a/rgpd/salaries/index.php
+++ b/rgpd/salaries/index.php
@@ -144,7 +144,7 @@ if(isset($_POST) && isset($_POST['g-recaptcha-response'])){
-
+