[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: infolog/inc class.vfs.inc.php,1.3,1.4
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: infolog/inc class.vfs.inc.php,1.3,1.4 |
Date: |
Mon, 08 Apr 2002 10:23:29 -0400 |
Update of /cvsroot/phpgroupware/infolog/inc
In directory subversions:/tmp/cvs-serv21481/infolog/inc
Modified Files:
class.vfs.inc.php
Log Message:
GNU Patch #108.
Index: class.vfs.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/infolog/inc/class.vfs.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** class.vfs.inc.php 6 Dec 2001 00:28:54 -0000 1.3
--- class.vfs.inc.php 8 Apr 2002 14:23:27 -0000 1.4
***************
*** 128,133 ****
/* We store the linked directories in an array now, so
we don't have to make the SQL call again */
!
! $query = $GLOBALS['phpgw']->db->query ("SELECT
directory, name, link_directory, link_name FROM phpgw_vfs WHERE link_directory
!= '' AND link_name != ''" . $this->extra_sql (VFS_SQL_SELECT));
$this->linked_dirs = array ();
--- 128,140 ----
/* We store the linked directories in an array now, so
we don't have to make the SQL call again */
! if ($GLOBALS['phpgw_info']['server']['db_type']=='mssql'
! ||
$GLOBALS['phpgw_info']['server']['db_type']=='sybase')
! {
! $query = $GLOBALS['phpgw']->db->query ("SELECT
directory, name, link_directory, link_name FROM phpgw_vfs WHERE
CONVERT(varchar,link_directory) != '' AND CONVERT(varchar,link_name) != ''" .
$this->extra_sql (array ('query_type' => VFS_SQL_SELECT)), __LINE__,__FILE__);
! }
! else
! {
! $query = $GLOBALS['phpgw']->db->query ("SELECT
directory, name, link_directory, link_name FROM phpgw_vfs WHERE link_directory
!= '' AND link_name != ''" . $this->extra_sql (array ('query_type' =>
VFS_SQL_SELECT)), __LINE__,__FILE__);
! }
$this->linked_dirs = array ();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: infolog/inc class.vfs.inc.php,1.3,1.4,
Mark A Peters <address@hidden> <=