phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] property/inc/custom/oppdater_utgaatt_objekt.php, 1.1.


From: nomail
Subject: [Phpgroupware-cvs] property/inc/custom/oppdater_utgaatt_objekt.php, 1.1.2.2
Date: Fri, 5 Nov 2004 21:42:16 +0100

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

date: 2004/11/05 20:42:16;  author: sigurdne;  state: Exp;  lines: +6 -3

Log Message:
no message
=====================================================================
Index: property/inc/custom/oppdater_utgaatt_objekt.php
diff -u property/inc/custom/oppdater_utgaatt_objekt.php:1.1.2.1 
property/inc/custom/oppdater_utgaatt_objekt.php:1.1.2.2
--- property/inc/custom/oppdater_utgaatt_objekt.php:1.1.2.1     Fri Nov  5 
15:09:49 2004
+++ property/inc/custom/oppdater_utgaatt_objekt.php     Fri Nov  5 20:42:16 2004
@@ -2,7 +2,7 @@
 
        class oppdater_utgaatt_objekt
        {
-               function oppdater_utgaatt_objekt($data='')
+               function oppdater_utgaatt_objekt()
                {
                        $this->currentapp               = 
$GLOBALS['phpgw_info']['flags']['currentapp'];
                        $this->bocommon                 = 
CreateObject($this->currentapp.'.bocommon');
@@ -13,7 +13,10 @@
 
                        $this->join                             = 
$this->socommon->join;
                        $this->left_join                = 
$this->socommon->left_join;
+               }
 
+               function pre_run($data='')
+               {
                        if($data['enabled']==1)
                        {
                                $confirm        = True;
@@ -31,7 +34,7 @@
 
                        if ($confirm)
                        {
-                               $receipt= $this->run();
+                               $receipt= $this->execute();
                        }
                        else
                        {
@@ -66,7 +69,7 @@
 
                }
 
-               function run()
+               function execute()
                {
                        $location_types = 
$this->soadmin_location->select_location_type();
 




reply via email to

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