reduce number of sql queries on shift calendar

This commit is contained in:
msquare 2016-12-26 14:40:28 +01:00
parent b3f92834b0
commit 549cd6534a
1 changed files with 1 additions and 4 deletions

View File

@ -129,10 +129,7 @@ function sql_select_db($db_name) {
* @return Result array or false on error * @return Result array or false on error
*/ */
function sql_select($query) { function sql_select($query) {
global $sql_connection; global $sql_connection, $query_count;
// echo $query . ";\n";
// echo debug_string_backtrace() . "\n";
$result = $sql_connection->query($query); $result = $sql_connection->query($query);
if ($result) { if ($result) {