diff options
author | msquare <msquare@notrademark.de> | 2016-12-26 14:40:28 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-12-26 14:40:28 +0100 |
commit | 549cd6534aea23affd530c45449dfdbd08b55921 (patch) | |
tree | 7279c12fc96e8b93519ee28325fa31c8f8f9b78a | |
parent | b3f92834b0d531d479b7d2f99dbe04fa30faf3f0 (diff) |
reduce number of sql queries on shift calendar
-rw-r--r-- | includes/mysqli_provider.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/includes/mysqli_provider.php b/includes/mysqli_provider.php index c81f157f..8c6463f4 100644 --- a/includes/mysqli_provider.php +++ b/includes/mysqli_provider.php @@ -129,10 +129,7 @@ function sql_select_db($db_name) { * @return Result array or false on error */ function sql_select($query) { - global $sql_connection; - -// echo $query . ";\n"; -// echo debug_string_backtrace() . "\n"; + global $sql_connection, $query_count; $result = $sql_connection->query($query); if ($result) { |