From 188399abd0af0280f77080f56b6dd55b962b9fd2 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 8 Oct 2024 17:57:54 +0000 Subject: [PATCH] Bug 34027: (QA follow-up) Tidy for qa script Signed-off-by: Kyle M Hall --- misc/cronjobs/cleanup_database.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/cronjobs/cleanup_database.pl b/misc/cronjobs/cleanup_database.pl index 2aedddf8302..23be117cd3f 100755 --- a/misc/cronjobs/cleanup_database.pl +++ b/misc/cronjobs/cleanup_database.pl @@ -402,7 +402,7 @@ if ($pZ3950) { if ($pLogs) { print "Purging records from action_logs.\n" if $verbose; - for (0..10000){ + for ( 0 .. 10000 ) { $dbh->do(q{ INSERT INTO action_logs (user,timestamp) VALUES (52,"2022-01-01 09:00:00") }); $dbh->do(q{ UPDATE action_logs SET timestamp = "2020-01-01 10:00:00" ORDER BY action_id DESC LIMIT 1 }); } -- 2.39.5 (Apple Git-154)