From: Andrew Dolgov Date: Fri, 11 Nov 2011 09:09:11 +0000 (+0400) Subject: db: disable qlog X-Git-Tag: 1.5.7~22 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=68c48b7d48b3d31139bb2bcd0c005635f0d023e6;p=tt-rss.git db: disable qlog --- diff --git a/db.php b/db.php index e886e51a..0682b58f 100644 --- a/db.php +++ b/db.php @@ -52,9 +52,9 @@ function db_escape_string($s, $strip_tags = true) { } function db_query($link, $query, $die_on_error = true) { - if ($_REQUEST["qlog"]) - error_log($_SESSION["uid"] . ":" . $_REQUEST["op"] . "/" . $_REQUEST["subop"] . - " $query\n", 3, "/tmp/ttrss-query.log"); + //if ($_REQUEST["qlog"]) + // error_log($_SESSION["uid"] . ":" . $_REQUEST["op"] . "/" . $_REQUEST["subop"] . + // " $query\n", 3, "/tmp/ttrss-query.log"); if (DB_TYPE == "pgsql") { $result = pg_query($link, $query);