[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r424 - trunk/rapport_avance/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r424 - trunk/rapport_avance/include |
Date: |
Sun, 30 Sep 2012 03:42:56 +0200 (CEST) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r424 - trunk/rapport_avance/include,
phpcompta-dev <=