mirror of
https://github.com/friendica/friendica
synced 2025-04-24 00:30:11 +00:00
Just some more code adjustments
This commit is contained in:
parent
b429b85680
commit
66da84d1a9
2 changed files with 3 additions and 2 deletions
|
@ -159,9 +159,9 @@ class dba {
|
|||
|
||||
$a->save_timestamp($stamp1, "database");
|
||||
|
||||
if (strtolower(substr($orig_sql, 0, 6)) != "select")
|
||||
if (strtolower(substr($orig_sql, 0, 6)) != "select") {
|
||||
$a->save_timestamp($stamp1, "database_write");
|
||||
|
||||
}
|
||||
if (x($a->config,'system') && x($a->config['system'],'db_log')) {
|
||||
if (($duration > $a->config["system"]["db_loglimit"])) {
|
||||
$duration = round($duration, 3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue