phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] phpgwapi/inc class.mail2array.inc.php class.mai...


From: Dave Hall
Subject: [Phpgroupware-cvs] phpgwapi/inc class.mail2array.inc.php class.mai...
Date: Wed, 27 Dec 2006 12:25:09 +0000

CVSROOT:        /sources/phpgwapi
Module name:    phpgwapi
Changes by:     Dave Hall <skwashd>     06/12/27 12:25:09

Modified files:
        inc            : class.mail2array.inc.php 
                         class.mail_handlers.inc.php 

Log message:
        more changes to make it work

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.mail2array.inc.php?cvsroot=phpgwapi&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/class.mail_handlers.inc.php?cvsroot=phpgwapi&r1=1.1&r2=1.2

Patches:
Index: class.mail2array.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.mail2array.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- class.mail2array.inc.php    27 Dec 2006 06:29:56 -0000      1.2
+++ class.mail2array.inc.php    27 Dec 2006 12:25:09 -0000      1.3
@@ -10,7 +10,7 @@
        * @internal a modified version of fud_emsg in FUDForum's 
scripts/maillist.php - 
http://cvs.prohost.org/c/index.cgi/FUDforum/getfile/install/forum_data/scripts/maillist.php?v=1.72
        * @package phpgwapi
        * @subpackage mail
-       * @version $Id: class.mail2array.inc.php,v 1.2 2006/12/27 06:29:56 
skwashd Exp $
+       * @version $Id: class.mail2array.inc.php,v 1.3 2006/12/27 12:25:09 
skwashd Exp $
        */
 
        class phpgwapi_mail2array
@@ -46,6 +46,11 @@
                var $from_name;
 
                /**
+               * @var int $handler_id the message handler db id
+               */
+               var $handler_id;
+
+               /**
                * @var string $headers the raw message headers
                */
                var $headers;

Index: class.mail_handlers.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/class.mail_handlers.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- class.mail_handlers.inc.php 27 Dec 2006 03:03:10 -0000      1.1
+++ class.mail_handlers.inc.php 27 Dec 2006 12:25:09 -0000      1.2
@@ -42,7 +42,7 @@
                */
                function delete_handler($id)
                {
-                       $sql = 'DELETE FROM phpgw_mail_handler WHERE handler_id 
= ' (int) $id;
+                       $sql = 'DELETE FROM phpgw_mail_handler WHERE handler_id 
= ' . (int) $id;
                        $this->db->query($sql, __LINE__, __FILE__);
                }
 
@@ -65,6 +65,7 @@
                                        'handler_id'    => 
$this->db->f('handler_id', true),
                                        'handler'               => 
$this->db->f('handler', true),
                                        'is_active'             => 
!!$this->db->f('is_active')
+                               );
                                
                                $handler_parts = explode('.', 
$retval['handler']); // app.class.method
 




reply via email to

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