"fixed fatal error reported by Bernhard D Rohrer <graylion(at)sm-wg.net> on the user list"

This commit is contained in:
Ralf Becker 2008-03-31 09:45:31 +00:00
parent 400a5bd48d
commit 46d63cc311

View File

@ -45,8 +45,6 @@
if (isset($GLOBALS['egw_info']['user']['apps']['admin']) && $GLOBALS['egw_info']['user']['apps']['admin'] && if (isset($GLOBALS['egw_info']['user']['apps']['admin']) && $GLOBALS['egw_info']['user']['apps']['admin'] &&
isset($GLOBALS['egw_info']['server']['checkfornewversion']) && $GLOBALS['egw_info']['server']['checkfornewversion']) isset($GLOBALS['egw_info']['server']['checkfornewversion']) && $GLOBALS['egw_info']['server']['checkfornewversion'])
{ {
$GLOBALS['egw']->network =& CreateObject('phpgwapi.network');
$GLOBALS['egw']->network->set_addcrlf(False); $GLOBALS['egw']->network->set_addcrlf(False);
$lines = $GLOBALS['egw']->network->gethttpsocketfile('http://www.egroupware.org/currentversion'); $lines = $GLOBALS['egw']->network->gethttpsocketfile('http://www.egroupware.org/currentversion');
for($i=0; $i<count($lines); $i++) for($i=0; $i<count($lines); $i++)