phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] ged/inc class.ged_dm.inc.php


From: Pascal Vilarem
Subject: [Phpgroupware-cvs] ged/inc class.ged_dm.inc.php
Date: Fri, 31 Aug 2007 09:49:31 +0000

CVSROOT:        /sources/phpgroupware
Module name:    ged
Changes by:     Pascal Vilarem <maat>   07/08/31 09:49:31

Modified files:
        inc            : class.ged_dm.inc.php 

Log message:
        update history comment when updating or adding a version

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/ged/inc/class.ged_dm.inc.php?cvsroot=phpgroupware&r1=1.44&r2=1.45

Patches:
Index: class.ged_dm.inc.php
===================================================================
RCS file: /sources/phpgroupware/ged/inc/class.ged_dm.inc.php,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- class.ged_dm.inc.php        30 Aug 2007 17:03:21 -0000      1.44
+++ class.ged_dm.inc.php        31 Aug 2007 09:49:31 -0000      1.45
@@ -480,7 +480,7 @@
                                
                                $this->db->unlock();
                                
-                               $this->store_history ('updated', 'New version', 
$my_new_version_id);
+                               $this->store_history ('new version', 
$this->cleanstr($new_version['description']), $my_new_version_id);
        
                        }
                        
@@ -585,7 +585,7 @@
                        $this->db->query($sql1, __LINE__, __FILE__);
                        $this->db->unlock();
                        
-                       $this->store_history ('updated', 'comment', 
$amended_version['version_id']);
+                       $this->store_history ('updated', 
$amended_version['description'], $amended_version['version_id']);
                        
                        // Gestion des relations
                        if ( is_array($amended_version['relations']))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]