forked from extern/egroupware
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('
|
$cache_query = 'INSERT INTO phpgw_app_sessions(sessionid,loginid,app,location,content) VALUES('
|
||||||
. "'0','0','phpgwapi','config','".addslashes(serialize($phpgw_info['server']))."')";
|
. "'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($cache_query);
|
||||||
unset($server_info_cache);
|
unset($server_info_cache);
|
||||||
|
Loading…
Reference in New Issue
Block a user