diff options
| author | 2013-11-10 20:21:45 +0100 | |
|---|---|---|
| committer | 2013-11-10 20:21:45 +0100 | |
| commit | 5659d2d4e14169e4763e3681fb471b55a1c9948e (patch) | |
| tree | 34862c10517c5f86fd3f6671aba6879c891eac47 /app/controllers/entryController.php | |
| parent | bfeda6810dc3a1991e37cdb8124a007edc3dc33c (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
Diffstat (limited to 'app/controllers/entryController.php')
| -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 4c9eb9d1b..d4023c519 100755 --- a/app/controllers/entryController.php +++ b/app/controllers/entryController.php @@ -101,6 +101,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') |
