diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-05-09 11:58:10 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-05-09 11:58:10 +0200 |
commit | a3e94591bcf778d9b9ed2f49c497f5c5e66af422 (patch) | |
tree | ae19662469e64d6cc94c3107a050f761f12853ea /include/dba/dba_postgres.php | |
parent | 24c1dc528dd981fc73baab8dc47840439e81f3b7 (diff) | |
parent | 6f486a3393fe33db70ef2f1684dd3b79768d1137 (diff) | |
download | volse-hubzilla-a3e94591bcf778d9b9ed2f49c497f5c5e66af422.tar.gz volse-hubzilla-a3e94591bcf778d9b9ed2f49c497f5c5e66af422.tar.bz2 volse-hubzilla-a3e94591bcf778d9b9ed2f49c497f5c5e66af422.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'include/dba/dba_postgres.php')
-rw-r--r-- | include/dba/dba_postgres.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dba/dba_postgres.php b/include/dba/dba_postgres.php index ba4366d13..03b29d703 100644 --- a/include/dba/dba_postgres.php +++ b/include/dba/dba_postgres.php @@ -50,7 +50,7 @@ class dba_postgres extends dba_driver { $this->error = pg_last_error($this->db); if($result === false || $this->error) { - //logger('dba_postgres: ' . printable($sql) . ' returned false.' . "\n" . $this->error); + //db_logger('dba_postgres: ' . printable($sql) . ' returned false.' . "\n" . $this->error); if(file_exists('dbfail.out')) file_put_contents('dbfail.out', datetime_convert() . "\n" . printable($sql) . ' returned false' . "\n" . $this->error . "\n", FILE_APPEND); } @@ -67,7 +67,7 @@ class dba_postgres extends dba_driver { $r[] = $x; pg_free_result($result); if($this->debug) - logger('dba_postgres: ' . printable(print_r($r,true))); + db_logger('dba_postgres: ' . printable(print_r($r,true))); } return $r; } |