summaryrefslogtreecommitdiff
path: root/include/db.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-02-28 13:35:56 +0400
committerAndrew Dolgov <[email protected]>2013-02-28 13:35:56 +0400
commitce1cdfb6e0fca2aab8d3c26a8c1159623e437288 (patch)
treed63f244170bfeaabc877793b6dc6b1067c160826 /include/db.php
parent18e1a773d1bb9f8300199c8cc52598c0fb290f1d (diff)
db: remove qlog stuff
Diffstat (limited to 'include/db.php')
-rw-r--r--include/db.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/db.php b/include/db.php
index 0470d648c..f1a7af363 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) {