aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Log.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-01-09 18:21:40 +0100
committerGravatar GitHub <noreply@github.com> 2022-01-09 18:21:40 +0100
commit4e2dff4591bb2062311c1d5bfcdca3ade2a76d16 (patch)
treea876374a709f04f919b35ae8e1e53774a0aca39c /lib/Minz/Log.php
parent9dbbe924c5e54b5dbe486873a9b31a28127c8e62 (diff)
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
Diffstat (limited to 'lib/Minz/Log.php')
-rw-r--r--lib/Minz/Log.php16
1 files changed, 1 insertions, 15 deletions
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 {
/**
@@ -108,20 +108,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.
*/