From ceb04c0726db3ed51db2d34b9df18245724c7be8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 12 Sep 2022 23:12:11 +0200 Subject: [PATCH] Rewrite: - moved constants GRAVITY_* from boot.php to Friendica\Model\Item - also rewrote some array initialization: From: ```` config->get('system', 'db_log'), DateTimeFormat::utcNow() . "\t" . $duration . "\t" . @@ -734,12 +733,6 @@ class Database substr($this->replaceParameters($sql, $args), 0, 4000) . "\n", FILE_APPEND ); -======= - @file_put_contents($this->configCache->get('system', 'db_log'), DateTimeFormat::utcNow() . "\t" . $duration . "\t" . - basename($backtrace[1]['file']) . "\t" . - $backtrace[1]['line'] . "\t" . $backtrace[2]['function'] . "\t" . - substr($this->replaceParameters($sql, $args), 0, 4000) . "\n", FILE_APPEND); ->>>>>>> 82391ca61 (Changes:) } } return $retval; -- 2.39.5