mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +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,9 +343,9 @@
|
||||
$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__);
|
||||
}
|
||||
}
|
||||
unset($cache_query);
|
||||
unset($server_info_cache);
|
||||
/************************************************************************\
|
||||
|
Loading…
Reference in New Issue
Block a user