phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc/custom lag_lang_filer.php oppdater...


From: Sigurd Nes
Subject: [Phpgroupware-cvs] property/inc/custom lag_lang_filer.php oppdater...
Date: Wed, 08 Feb 2006 09:21:48 +0000

CVSROOT:        /sources/phpgroupware
Module name:    property
Branch:         
Changes by:     Sigurd Nes <address@hidden>     06/02/08 09:21:48

Modified files:
        inc/custom     : lag_lang_filer.php oppdater_utgaatt_objekt.php 
                         organize_drawing.php 

Log message:
        

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/inc/custom/lag_lang_filer.php.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/inc/custom/oppdater_utgaatt_objekt.php.diff?tr1=1.7&tr2=1.8&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/property/inc/custom/organize_drawing.php.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: property/inc/custom/lag_lang_filer.php
diff -u property/inc/custom/lag_lang_filer.php:1.4 
property/inc/custom/lag_lang_filer.php:1.5
--- property/inc/custom/lag_lang_filer.php:1.4  Wed Jan  4 08:01:12 2006
+++ property/inc/custom/lag_lang_filer.php      Wed Feb  8 09:21:48 2006
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage custom
-       * @version $Id: lag_lang_filer.php,v 1.4 2006/01/04 08:01:12 sigurdne 
Exp $
+       * @version $Id: lag_lang_filer.php,v 1.5 2006/02/08 09:21:48 sigurdne 
Exp $
        */
 
        /**
@@ -22,9 +22,9 @@
 
                function lag_lang_filer()
                {
-                       $this->currentapp               = 
$GLOBALS['phpgw_info']['flags']['currentapp'];
-                       $this->bocommon                 = 
CreateObject($this->currentapp.'.bocommon');
-                       $this->db                               = 
$GLOBALS['phpgw']->db;
+                       $this->currentapp       = 
$GLOBALS['phpgw_info']['flags']['currentapp'];
+                       $this->bocommon         = 
CreateObject($this->currentapp.'.bocommon');
+                       $this->db               = $this->bocommon->new_db();
                }
 
                function pre_run($data='')
Index: property/inc/custom/oppdater_utgaatt_objekt.php
diff -u property/inc/custom/oppdater_utgaatt_objekt.php:1.7 
property/inc/custom/oppdater_utgaatt_objekt.php:1.8
--- property/inc/custom/oppdater_utgaatt_objekt.php:1.7 Wed Jan  4 08:01:12 2006
+++ property/inc/custom/oppdater_utgaatt_objekt.php     Wed Feb  8 09:21:48 2006
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage custom
-       * @version $Id: oppdater_utgaatt_objekt.php,v 1.7 2006/01/04 08:01:12 
sigurdne Exp $
+       * @version $Id: oppdater_utgaatt_objekt.php,v 1.8 2006/02/08 09:21:48 
sigurdne Exp $
        */
 
        /**
@@ -24,11 +24,11 @@
                {
                        $this->currentapp               = 
$GLOBALS['phpgw_info']['flags']['currentapp'];
                        $this->bocommon                 = 
CreateObject($this->currentapp.'.bocommon');
-                       $this->db                               = 
$GLOBALS['phpgw']->db;
-                       $this->db2                              = $this->db;
+                       $this->db                       = 
$this->bocommon->new_db();
+                       $this->db2                      = 
$this->bocommon->new_db();
                        $this->soadmin_location = 
CreateObject($this->currentapp.'.soadmin_location');
 
-                       $this->join                             = 
$this->bocommon->join;
+                       $this->join                     = $this->bocommon->join;
                        $this->left_join                = 
$this->bocommon->left_join;
                }
 
Index: property/inc/custom/organize_drawing.php
diff -u property/inc/custom/organize_drawing.php:1.5 
property/inc/custom/organize_drawing.php:1.6
--- property/inc/custom/organize_drawing.php:1.5        Wed Jan  4 08:01:12 2006
+++ property/inc/custom/organize_drawing.php    Wed Feb  8 09:21:48 2006
@@ -8,7 +8,7 @@
        * @internal Development of this application was funded by 
http://www.bergen.kommune.no/bbb_/ekstern/
        * @package property
        * @subpackage custom
-       * @version $Id: organize_drawing.php,v 1.5 2006/01/04 08:01:12 sigurdne 
Exp $
+       * @version $Id: organize_drawing.php,v 1.6 2006/02/08 09:21:48 sigurdne 
Exp $
        */
 
        /**
@@ -25,17 +25,17 @@
 
                var     $dir = '/mnt/filer2/Tegninger';
                var     $suffix = 'dwg';
-               var $bypass = False; // bypass location check (only for 
debugging)
+               var     $bypass = False; // bypass location check (only for 
debugging)
                var     $function_name = 'organize_drawing';
 
                function organize_drawing()
                {
                        $this->currentapp       = 
$GLOBALS['phpgw_info']['flags']['currentapp'];
                        $this->bocommon         = 
CreateObject($this->currentapp.'.bocommon');
-                       $this->vfs                      = 
CreateObject('phpgwapi.vfs');
+                       $this->vfs              = CreateObject('phpgwapi.vfs');
                        $this->rootdir          = $this->vfs->basedir;
                        $this->fakebase         = $this->vfs->fakebase;
-                       $this->db                       = $GLOBALS['phpgw']->db;
+                       $this->db               = $this->bocommon->new_db();
 
                }
 




reply via email to

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