Remove stray whitespace

This commit is contained in:
Miles Lott 2002-08-20 12:41:48 +00:00
parent 438467de6a
commit eec43e2901
2 changed files with 5 additions and 7 deletions

View File

@ -353,7 +353,6 @@
$cnt = count($method); $cnt = count($method);
for($i=0;$i<$cnt;$i++) for($i=0;$i<$cnt;$i++)
{ {
switch(strtoupper($method[$i])) switch(strtoupper($method[$i]))
{ {
case 'DEFAULT': case 'DEFAULT':
@ -402,7 +401,7 @@
{ {
$value = $default_value; $value = $default_value;
} }
if (@!is_array($value)) if (@!is_array($value))
{ {
if ($value == '') if ($value == '')

View File

@ -4,7 +4,7 @@
* This file written by Dan Kuykendall <seek3r@phpgroupware.org> * * This file written by Dan Kuykendall <seek3r@phpgroupware.org> *
* and Joseph Engo <jengo@phpgroupware.org> * * and Joseph Engo <jengo@phpgroupware.org> *
* Has a few functions, but primary role is to load the phpgwapi * * Has a few functions, but primary role is to load the phpgwapi *
* Copyright (C) 2000, 2001, 2002 Dan Kuykendall * * Copyright (C) 2000, 2001, 2002 Dan Kuykendall *
* -------------------------------------------------------------------------* * -------------------------------------------------------------------------*
* This library is part of the phpGroupWare API * * This library is part of the phpGroupWare API *
* http://www.phpgroupware.org/api * * http://www.phpgroupware.org/api *
@ -221,7 +221,7 @@
if($server_info_cache) if($server_info_cache)
{ {
$cache_query = "DELETE FROM phpgw_app_sessions WHERE sessionid='0' and loginid='0' and app='phpgwapi' and location='config'"; $cache_query = "DELETE FROM phpgw_app_sessions WHERE sessionid='0' and loginid='0' and app='phpgwapi' and location='config'";
$GLOBALS['phpgw']->db->query($cache_query,__LINE__,__FILE__); $GLOBALS['phpgw']->db->query($cache_query,__LINE__,__FILE__);
} }
$cache_query = 'INSERT INTO phpgw_app_sessions(sessionid,loginid,app,location,content) VALUES(' $cache_query = 'INSERT INTO phpgw_app_sessions(sessionid,loginid,app,location,content) VALUES('
. "'0','0','phpgwapi','config','".addslashes(serialize($GLOBALS['phpgw_info']['server']))."')"; . "'0','0','phpgwapi','config','".addslashes(serialize($GLOBALS['phpgw_info']['server']))."')";
@ -387,10 +387,10 @@
define('PHPGW_FRAME_PART','start'); define('PHPGW_FRAME_PART','start');
} }
//$GLOBALS['phpgw_info']['server']['useframes'] = 'always'; //$GLOBALS['phpgw_info']['server']['useframes'] = 'always';
if(((isset($GLOBALS['phpgw_info']['user']['preferences']['common']['useframes']) && if(((isset($GLOBALS['phpgw_info']['user']['preferences']['common']['useframes']) &&
$GLOBALS['phpgw_info']['user']['preferences']['common']['useframes'] && $GLOBALS['phpgw_info']['user']['preferences']['common']['useframes'] &&
$GLOBALS['phpgw_info']['server']['useframes'] == 'allowed') || $GLOBALS['phpgw_info']['server']['useframes'] == 'allowed') ||
$GLOBALS['phpgw_info']['server']['useframes'] == 'always') && $GLOBALS['phpgw_info']['server']['useframes'] == 'always') &&
PHPGW_FRAME_PART != 'unsupported') PHPGW_FRAME_PART != 'unsupported')
{ {
define('PHPGW_USE_FRAMES',True); define('PHPGW_USE_FRAMES',True);
@ -447,7 +447,6 @@
unset($enable_class); unset($enable_class);
reset($GLOBALS['phpgw_info']['flags']); reset($GLOBALS['phpgw_info']['flags']);
/***************************************************************************\ /***************************************************************************\
* These lines load up the themes data and put them into the templates class * * These lines load up the themes data and put them into the templates class *
\***************************************************************************/ \***************************************************************************/