phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc/custom/organize_drawing.php, 1.1.2.12


From: nomail
Subject: [Phpgroupware-cvs] property/inc/custom/organize_drawing.php, 1.1.2.12
Date: Sun, 12 Dec 2004 23:38:38 +0100

Update of /property/inc/custom
Modified Files:
        Branch: proposed-0_9_18-branch
          organize_drawing.php

date: 2004/12/12 22:38:38;  author: sigurdne;  state: Exp;  lines: +6 -4

Log Message:
no message
=====================================================================
Index: property/inc/custom/organize_drawing.php
diff -u property/inc/custom/organize_drawing.php:1.1.2.11 
property/inc/custom/organize_drawing.php:1.1.2.12
--- property/inc/custom/organize_drawing.php:1.1.2.11   Thu Nov 18 22:12:07 2004
+++ property/inc/custom/organize_drawing.php    Sun Dec 12 22:38:38 2004
@@ -35,6 +35,7 @@
                var     $dir = '/mnt/filer2/Tegninger';
                var     $suffix = 'dwg';
                var $bypass = False; // bypass location check (only for 
debugging)
+               var     $function_name = 'organize_drawing';
 
                function organize_drawing()
                {
@@ -98,7 +99,7 @@
                        $link_data = array
                        (
                                'menuaction' => 
$this->currentapp.'.custom_functions.index',
-                               'function'      => 'organize_drawing',
+                               'function'      => $this->function_name,
                                'execute'       => $execute,
                                'dir'           => $this->dir,
                                'suffix'        => $this->suffix,
@@ -184,13 +185,14 @@
 
                                $insert_values= array(
                                        $cron,
-                                       'organize_drawing',
+                                       date($this->bocommon->datetimeformat),
+                                       $this->function_name,
                                        implode(',',(array_keys($msgbox_data)))
                                        );
 
                                $insert_values  = 
$this->bocommon->validate_db_insert($insert_values);
 
-                               $sql = "INSERT INTO fm_cron_log 
(cron,process,message) "
+                               $sql = "INSERT INTO fm_cron_log 
(cron,cron_date,process,message) "
                                                . "VALUES ($insert_values)";
                                $this->db->query($sql,__LINE__,__FILE__);
                        }




reply via email to

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