From 59594eca1d0845a86a8c776b2fcb8dab6c90c28a Mon Sep 17 00:00:00 2001 From: phl0 Date: Fri, 8 Mar 2024 17:37:07 +0100 Subject: [PATCH 1/2] Fix wording --- application/migrations/186_rm_eqsl_dbl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/migrations/186_rm_eqsl_dbl.php b/application/migrations/186_rm_eqsl_dbl.php index 8d0782ff9..c406d04d9 100644 --- a/application/migrations/186_rm_eqsl_dbl.php +++ b/application/migrations/186_rm_eqsl_dbl.php @@ -50,14 +50,14 @@ class Migration_rm_eqsl_dbl extends CI_Migration if (!unlink($target_path . '/' . $res)) { log_message('error', "Mig 186: Dupe file: '" . $target_path . "/" . $res . "' could not be deleted. There is no file with this filename. This shouldn't be a problem."); } else { - log_message('debug', "Mig 186: Dupe file: '" . $target_path . "/" . $res . "' were deleted because it was a dupe."); + log_message('debug', "Mig 186: Dupe file: '" . $target_path . "/" . $res . "' was deleted because it was a dupe."); } } else { // if 'userdata' is disabled we can use the old paths if (!unlink('images/eqsl_card_images/' . $res)) { log_message('error', "Mig 186: Dupe file: 'images/eqsl_card_images/" . $res . "' could not be deleted. There is no file with this filename. This shouldn't be a problem."); } else { - log_message('debug', "Mig 186: Dupe file: 'images/eqsl_card_images/" . $res . "' were deleted because it was a dupe."); + log_message('debug', "Mig 186: Dupe file: 'images/eqsl_card_images/" . $res . "' was deleted because it was a dupe."); } } } From 8c943f3e2dcfa42acae59e2f9f20b78537321f29 Mon Sep 17 00:00:00 2001 From: phl0 Date: Fri, 8 Mar 2024 17:37:38 +0100 Subject: [PATCH 2/2] Remove debug output --- application/controllers/Eqsl.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/application/controllers/Eqsl.php b/application/controllers/Eqsl.php index a888414c0..a9df20929 100644 --- a/application/controllers/Eqsl.php +++ b/application/controllers/Eqsl.php @@ -620,8 +620,6 @@ class eqsl extends CI_Controller { if (file_put_contents($this->Eqsl_images->get_imagePath('p') .'/'. $filename, $content) !== false) { $this->Eqsl_images->save_image($id, $filename); } - } else { - log_message("Debug","DBL for ".$id." prevented"); } } return $error;