Author: danydb
Date: 2012-09-30 03:42:56 +0200 (Sun, 30 Sep 2012)
New Revision: 424
Modified:
trunk/rapport_avance/include/historique.inc.php
Log:
new : remove old declaration not kept
Modified: trunk/rapport_avance/include/historique.inc.php
===================================================================
--- trunk/rapport_avance/include/historique.inc.php 2012-09-30 01:42:34 UTC
(rev 423)
+++ trunk/rapport_avance/include/historique.inc.php 2012-09-30 01:42:56 UTC
(rev 424)
@@ -27,6 +27,7 @@
* take data from rapport_avance.declaration and display via ajax
*/
global $cn;
+$cn->exec_sql("delete from rapport_advanced.declaration where to_keep='N' and
d_generated < now() - interval '5 hours'");
$data=$cn->get_array("select d_id,d_title,
d_start,d_end
from rapport_advanced.declaration
@@ -49,7 +50,7 @@
</th>
<th>
-
+
</th>
</tr>
<? for ($i=0;$i<count($data);$i++) :?>
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
_______________________________________________
Phpcompta est un logiciel libre de comptabilité en ligne
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev