Moved a ->db->query() call inside a condition branch. Cuts down on an unneeded db hit.

This commit is contained in:
skeeter 2001-07-28 02:18:17 +00:00
parent 016f6e5ce3
commit 176aee8b50

View File

@ -343,8 +343,8 @@
$cache_query = 'INSERT INTO phpgw_app_sessions(sessionid,loginid,app,location,content) VALUES('
. "'0','0','phpgwapi','config','".addslashes(serialize($phpgw_info['server']))."')";
}
$phpgw->db->query($cache_query,__LINE__,__FILE__);
}
$phpgw->db->query($cache_query,__LINE__,__FILE__);
}
unset($cache_query);
unset($server_info_cache);