From: Andrew Dolgov Date: Thu, 28 Feb 2013 09:35:56 +0000 (+0400) Subject: db: remove qlog stuff X-Git-Tag: 1.7.1~19 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ce1cdfb6e0fca2aab8d3c26a8c1159623e437288;p=tt-rss.git db: remove qlog stuff --- diff --git a/include/db.php b/include/db.php index 0470d648..f1a7af36 100644 --- a/include/db.php +++ b/include/db.php @@ -52,12 +52,6 @@ function db_escape_string($s, $strip_tags = true) { } function db_query($link, $query, $die_on_error = true) { - if ($_REQUEST["qlog"] || defined('_DEBUG_QUERY_LOG')) { - $query = trim($query); - error_log($_SESSION["uid"] . ":" . $_REQUEST["op"] . "/" . $_REQUEST["method"] . - " $query\n", 3, "/tmp/ttrss-query.log"); - } - if (DB_TYPE == "pgsql") { $result = pg_query($link, $query); if (!$result) {