reduce number of sql queries on shift calendar
This commit is contained in:
parent
b3f92834b0
commit
549cd6534a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue