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
pull/279/head
Marien Fressinaud 11 years ago committed by Alexandre Alapetite
parent 4c5e9d0dd8
commit 295113eb2e
  1. 2
      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')

Loading…
Cancel
Save