diff options
| author | polo <contact@ordipolo.fr> | 2026-05-16 02:10:23 +0200 |
|---|---|---|
| committer | polo <contact@ordipolo.fr> | 2026-05-16 02:10:23 +0200 |
| commit | e79931432e63a86c5b7ced8a41186a24239794fe (patch) | |
| tree | 2feeb64150c1ab858034cd03926872acba9afbb6 /src/controller/UserController.php | |
| parent | 3d4d7af869442abf91c1a40e7c35d616a8e5e428 (diff) | |
| download | cms-e79931432e63a86c5b7ced8a41186a24239794fe.tar.gz cms-e79931432e63a86c5b7ced8a41186a24239794fe.tar.bz2 cms-e79931432e63a86c5b7ced8a41186a24239794fe.zip | |
appel à Backup::mySQLdump déplacé à la connexion, compatibilité PHP 8.2 (cause instanciation dans une chaine de méthodes), gzip encode disponible
Diffstat (limited to 'src/controller/UserController.php')
| -rw-r--r-- | src/controller/UserController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controller/UserController.php b/src/controller/UserController.php index 6928e86..9746a47 100644 --- a/src/controller/UserController.php +++ b/src/controller/UserController.php | |||
| @@ -92,6 +92,7 @@ class UserController | |||
| 92 | $_SESSION['user']['role'] = $user->getRole(); | 92 | $_SESSION['user']['role'] = $user->getRole(); |
| 93 | 93 | ||
| 94 | EmailService::cleanEmails($entityManager); | 94 | EmailService::cleanEmails($entityManager); |
| 95 | Backup::mySQLdump($entityManager, 'auto'); // créer un nouveau backup | ||
| 95 | 96 | ||
| 96 | $url = new URL(isset($_GET['from']) ? ['page' => $_GET['from']] : []); | 97 | $url = new URL(isset($_GET['from']) ? ['page' => $_GET['from']] : []); |
| 97 | isset($_GET['id']) ? $url->addParams(['id' => $_GET['id']]) : ''; | 98 | isset($_GET['id']) ? $url->addParams(['id' => $_GET['id']]) : ''; |
