db: remove qlog stuff

This commit is contained in:
Andrew Dolgov 2013-02-28 13:35:56 +04:00
parent 18e1a773d1
commit ce1cdfb6e0
1 changed files with 0 additions and 6 deletions

View File

@ -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) {