phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] chat sendmsg.php


From: Sigurd Nes
Subject: [Phpgroupware-cvs] chat sendmsg.php
Date: Fri, 10 Nov 2006 13:34:36 +0000

CVSROOT:        /sources/phpgroupware
Module name:    chat
Changes by:     Sigurd Nes <sigurdne>   06/11/10 13:34:36

Modified files:
        .              : sendmsg.php 

Log message:
        In PHP 5.2 there is an object named DateTime -so phpgwapi.datetime is 
renamed to avoid redelaration of the class

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/chat/sendmsg.php?cvsroot=phpgroupware&r1=1.9&r2=1.10

Patches:
Index: sendmsg.php
===================================================================
RCS file: /sources/phpgroupware/chat/sendmsg.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- sendmsg.php 30 Apr 2002 23:24:20 -0000      1.9
+++ sendmsg.php 10 Nov 2006 13:34:36 -0000      1.10
@@ -10,7 +10,7 @@
        *  option) any later version.                                           
   *
        
\**************************************************************************/
 
-       /* $Id: sendmsg.php,v 1.9 2002/04/30 23:24:20 skeeter Exp $ */
+       /* $Id: sendmsg.php,v 1.10 2006/11/10 13:34:36 sigurdne Exp $ */
 
        $GLOBALS['phpgw_info']['flags'] = array(
                'currentapp' => 'chat',
@@ -28,7 +28,7 @@
 
        if ($action=='post')
        {
-               $datetime = createobject('phpgwapi.datetime');
+               $datetime = createobject('phpgwapi.datetimefunctions');
                if ($location=='public')
                {
                        $GLOBALS['phpgw']->db->query("INSERT INTO 
phpgw_chat_messages (channel,"




reply via email to

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