Progress Bar : use GET , which is faster than POST, use 2 decimal in progress because if the step is < 1 , it doesn't work

This commit is contained in:
Dany De Bontridder 2018-02-03 16:18:02 +01:00
parent 83404ed02e
commit 40cbb89f93
4 changed files with 7 additions and 3 deletions

View file

@ -67,6 +67,7 @@ class Progress_Bar
$this->value=0;
$this->db->exec_sql("insert into progress(p_id,p_value) values ($1,0)",
[$p_task_id]);
$this->db->exec_sql("delete from progress where p_created < now() - interval '3 hours' ");
}
}
/**