phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: infolog/inc class.boinfolog.inc.php,1.14,1.14.2.


From: Ralf Becker <address@hidden>
Subject: [Phpgroupware-cvs] CVS: infolog/inc class.boinfolog.inc.php,1.14,1.14.2.1
Date: Wed, 20 Feb 2002 12:00:53 -0500

Update of /cvsroot/phpgroupware/infolog/inc
In directory subversions:/tmp/cvs-serv5277

Modified Files:
      Tag: Version-0_9_14-branch
        class.boinfolog.inc.php 
Log Message:
fixed name of projects-class is now boprojects and checking with is_object

Index: class.boinfolog.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/infolog/inc/class.boinfolog.inc.php,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -C2 -r1.14 -r1.14.2.1
*** class.boinfolog.inc.php     8 Oct 2001 13:37:41 -0000       1.14
--- class.boinfolog.inc.php     20 Feb 2002 17:00:51 -0000      1.14.2.1
***************
*** 43,47 ****
                var $send_file_ips = array();
  
!   function boinfolog( $info_id = 0)
                {
                        $this->enums = array(
--- 43,47 ----
                var $send_file_ips = array();
  
!               function boinfolog( $info_id = 0)
                {
                        $this->enums = array(
***************
*** 137,149 ****
                                if (!is_object($this->projects))
                                {
!                                       $this->projects = 
createobject('projects.projects');
                                }
!                               if (list( $proj ) = 
$this->projects->read_single_project( $proj_id))
                                {
                                        return $proj;
                                }
                        }
!                       return False;         
!               }               
  
                function readAddr($addr_id)
--- 137,149 ----
                                if (!is_object($this->projects))
                                {
!                                       $this->projects = 
createobject('projects.boprojects');
                                }
!                               if (is_object($this->projects) && (list( $proj 
) = $this->projects->read_single_project( $proj_id)))
                                {
                                        return $proj;
                                }
                        }
!                       return False;
!               }
  
                function readAddr($addr_id)
***************
*** 154,158 ****
                                {
                                        $this->contacts = 
createobject('phpgwapi.contacts');
!                               }            
                                if (list( $addr ) = 
$this->contacts->read_single_entry( $addr_id ))
                                {
--- 154,158 ----
                                {
                                        $this->contacts = 
createobject('phpgwapi.contacts');
!                               }
                                if (list( $addr ) = 
$this->contacts->read_single_entry( $addr_id ))
                                {
***************
*** 160,166 ****
                                }
                        }
!                       return False;                  
!               }      
!                                       
                /*
                 * check's if user has the requiered rights on entry $info_id
--- 160,166 ----
                                }
                        }
!                       return False;
!               }
! 
                /*
                 * check's if user has the requiered rights on entry $info_id
***************
*** 170,174 ****
                        return $this->so->check_access( 
$info_id,$required_rights );
                }
!               
                function init()
                {
--- 170,174 ----
                        return $this->so->check_access( 
$info_id,$required_rights );
                }
! 
                function init()
                {




reply via email to

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