db: disable qlog
This commit is contained in:
parent
c0644ee424
commit
68c48b7d48
1 changed files with 3 additions and 3 deletions
6
db.php
6
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);
|
||||
|
|
Loading…
Reference in a new issue