Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-19 10:06:45 +0100
committerErich Eckner <git@eckner.net>2019-02-19 10:06:45 +0100
commita8fdf565c7594baa2c0faa23f5d5c38fda380a0e (patch)
treea34e68a0593e5b6050b4884e34d9650116c3f917
parent37ba3ac0ca27ed3c68be6da97cb68a0a86bd5934 (diff)
lib/mysql.php: deactivate debugging log for now
-rw-r--r--lib/mysql.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mysql.php b/lib/mysql.php
index c6d7fdf..2193ab1 100644
--- a/lib/mysql.php
+++ b/lib/mysql.php
@@ -21,7 +21,7 @@ function mysql_log_duration_and_trace($start) {
$trace = debug_backtrace();
array_shift($trace);
// silently fail if logfile is unavailable
- if (($fp = fopen(BASE . '/log', 'a')) !== false) {
+/* if (($fp = fopen(BASE . '/log', 'a')) !== false) {
flock($fp, LOCK_EX);
fwrite($fp,
date('Y-m-d H:i:s') . " " .
@@ -31,7 +31,7 @@ function mysql_log_duration_and_trace($start) {
);
flock($fp, LOCK_UN);
fclose($fp);
- }
+ } */
}
function mysql_run_query($query) {