mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
Moved a ->db->query() call inside a condition branch. Cuts down on an unneeded db hit.
This commit is contained in:
parent
016f6e5ce3
commit
176aee8b50
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user