From 230119ece5081db11ebdd2a5b327747a04351c52 Mon Sep 17 00:00:00 2001 From: Sweepr Date: Sat, 23 Feb 2019 13:36:19 +0100 Subject: [PATCH 1/2] Fix missing .PHP_EOL's and removing unneeded "/n" in reset postprocessing script Fix missing .PHP_EOL's and removing unneeded "/n" in reset postprocessing script --- misc/testing/DB/reset_postprocessing.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/testing/DB/reset_postprocessing.php b/misc/testing/DB/reset_postprocessing.php index 7191a473c..177c27c8f 100755 --- a/misc/testing/DB/reset_postprocessing.php +++ b/misc/testing/DB/reset_postprocessing.php @@ -305,9 +305,9 @@ if (isset($argv[1]) && ($argv[1] === 'nfos' || $argv[1] === 'all')) { if ($ran === false) { $colorCli->error( - '\nThis script will reset postprocessing per category. It can also truncate the associated tables.' - .'\nTo reset only those that have previously failed, those without covers, samples, previews, etc. use the ' - .'second argument false.\n' + 'This script will reset postprocessing per category.'PHP_EOL + .'It can also truncate the associated tables.'.PHP_EOL + .'To reset only those that have previously failed, those without covers, samples, previews, etc. use the second argument false.'.PHP_EOL .'To reset even those previously post processed, use the second argument true.'.PHP_EOL .'To truncate the associated table, use the third argument truncate.'.PHP_EOL.PHP_EOL .'php reset_postprocessing.php consoles true ...: To reset all consoles.'.PHP_EOL From 4ff7454dab33dcbe1351fad4190ce8502e73a159 Mon Sep 17 00:00:00 2001 From: Sweepr Date: Sat, 23 Feb 2019 13:40:03 +0100 Subject: [PATCH 2/2] Update reset_postprocessing.php --- misc/testing/DB/reset_postprocessing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/testing/DB/reset_postprocessing.php b/misc/testing/DB/reset_postprocessing.php index 177c27c8f..e54f7ac62 100755 --- a/misc/testing/DB/reset_postprocessing.php +++ b/misc/testing/DB/reset_postprocessing.php @@ -305,7 +305,7 @@ if (isset($argv[1]) && ($argv[1] === 'nfos' || $argv[1] === 'all')) { if ($ran === false) { $colorCli->error( - 'This script will reset postprocessing per category.'PHP_EOL + 'This script will reset postprocessing per category.'.PHP_EOL .'It can also truncate the associated tables.'.PHP_EOL .'To reset only those that have previously failed, those without covers, samples, previews, etc. use the second argument false.'.PHP_EOL .'To reset even those previously post processed, use the second argument true.'.PHP_EOL