diff options
| author | 2013-11-10 20:21:45 +0100 | |
|---|---|---|
| committer | 2013-11-12 22:45:00 +0100 | |
| commit | 295113eb2ec1ddcc83e4abb3ca8b5330e8eb7bdd (patch) | |
| tree | 4c2296d0cec6f2e9623e42d3219997c612905e54 | |
| parent | 4c5e9d0dd828ec9da44b0f178edd73b7213d6d20 (diff) | |
Invalide cache lors d'une optimisation de la BDD
Pour avoir la notification après une optimisation, on doit invalider le
cache. Un peu dommage puisque rien de visible n'est changé sinon
À voir pour améliorer le système de notification plus tard
| -rwxr-xr-x | app/controllers/entryController.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/entryController.php b/app/controllers/entryController.php index 8e2b215d5..1ba9cc3cd 100755 --- a/app/controllers/entryController.php +++ b/app/controllers/entryController.php @@ -88,6 +88,8 @@ class entryController extends ActionController { $entryDAO = new EntryDAO(); $entryDAO->optimizeTable(); + touch(PUBLIC_PATH . '/data/touch.txt'); + $notif = array ( 'type' => 'good', 'content' => Translate::t ('optimization_complete') |
