From b806f878740299eea54e86603840bbfd596a4bf7 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 22 Oct 2016 13:54:30 -0400 Subject: [PATCH] Formatting changes to make @annando happy --- include/Core/Config.php | 2 +- include/Core/PConfig.php | 2 +- include/text.php | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/Core/Config.php b/include/Core/Config.php index e82094417f..ea6d9cda62 100644 --- a/include/Core/Config.php +++ b/include/Core/Config.php @@ -145,7 +145,7 @@ ON DUPLICATE KEY UPDATE `v` = '%s'", ); if ($ret) { return $value; - } + } return $ret; } diff --git a/include/Core/PConfig.php b/include/Core/PConfig.php index 172a83e91d..bd4883c0d3 100644 --- a/include/Core/PConfig.php +++ b/include/Core/PConfig.php @@ -142,7 +142,7 @@ ON DUPLICATE KEY UPDATE `v` = '%s'", ); if ($ret) { return $value; - } + } return $ret; } diff --git a/include/text.php b/include/text.php index 8f15ff2945..4b2a4a9409 100644 --- a/include/text.php +++ b/include/text.php @@ -734,14 +734,14 @@ function logger($msg, $level = 0) { $callers = debug_backtrace(); $logline = sprintf("%s@%s\t[%s]:%s:%s:%s\t%s\n", - datetime_convert(), - $process_id, - $LOGGER_LEVELS[$level], - basename($callers[0]['file']), - $callers[0]['line'], - $callers[1]['function'], - $msg - ); + datetime_convert(), + $process_id, + $LOGGER_LEVELS[$level], + basename($callers[0]['file']), + $callers[0]['line'], + $callers[1]['function'], + $msg + ); $stamp1 = microtime(true); @file_put_contents($logfile, $logline, FILE_APPEND);