From d94a409885a11f23ccb4a8068a5f618c2e6fdd7d Mon Sep 17 00:00:00 2001 From: Richard Stanway Date: Wed, 3 Jan 2024 02:42:54 +0900 Subject: [PATCH] Fix formatting --- cron/wiki_hotness.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cron/wiki_hotness.php b/cron/wiki_hotness.php index b30748d..7854394 100644 --- a/cron/wiki_hotness.php +++ b/cron/wiki_hotness.php @@ -179,10 +179,11 @@ $sth->execute( $insertData ); } - if ( $db->commit() ) + if ( $db->commit() ) { break; + } - sleep ( 1 ); + sleep( 1 ); } curl_setopt( $ch, CURLOPT_CUSTOMREQUEST, 'PURGE' );