mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 23:05:55 +00:00
error handler: do not log last query, truncate error message to a smaller length
This commit is contained in:
@@ -35,10 +35,6 @@ class Db_Pgsql implements IDb {
|
||||
}
|
||||
|
||||
function query($query, $die_on_error = true) {
|
||||
global $last_query;
|
||||
|
||||
if (strpos($query, "ttrss_error_log") === FALSE) $last_query = $query;
|
||||
|
||||
$result = @pg_query($this->link, $query);
|
||||
|
||||
if (!$result) {
|
||||
|
||||
Reference in New Issue
Block a user