From 4e2dff4591bb2062311c1d5bfcdca3ade2a76d16 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 9 Jan 2022 18:21:40 +0100 Subject: Add spell checking with typos (#4138) * Add spell checking with typos Implement https://github.com/FreshRSS/FreshRSS/pull/4134#issuecomment-1008027558 * GitHub Actions attempt * Quiet wget * Makefile --- lib/Minz/Log.php | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'lib/Minz/Log.php') diff --git a/lib/Minz/Log.php b/lib/Minz/Log.php index e0e22e532..80b93a097 100644 --- a/lib/Minz/Log.php +++ b/lib/Minz/Log.php @@ -5,7 +5,7 @@ */ /** - * La classe Log permet de logger des erreurs + * The Minz_Log class is used to log errors and warnings */ class Minz_Log { /** @@ -107,20 +107,6 @@ class Minz_Log { } } - /** - * Automatise le log des variables globales $_GET et $_POST - * Fait appel à la fonction record(...) - * Ne fonctionne qu'en environnement "development" - * @param string $file_name fichier de log - */ - public static function recordRequest($file_name = null) { - $msg_get = str_replace("\n", '', '$_GET content : ' . print_r($_GET, true)); - $msg_post = str_replace("\n", '', '$_POST content : ' . print_r($_POST, true)); - - self::record($msg_get, LOG_DEBUG, $file_name); - self::record($msg_post, LOG_DEBUG, $file_name); - } - /** * Some helpers to Minz_Log::record() method * Parameters are the same of those of the record() method. -- cgit v1.2.3