Skip to content

Commit 689ffdd

Browse files
committed
Mod: Few improvements to SFW update #2.
1 parent 8bf7f9f commit 689ffdd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cleantalk.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,10 @@ function apbct_sfw_update__init( $delay = 0 ){
879879
$apbct->fw_stats['firewall_updating_last_start'] = time();
880880
$apbct->save( 'fw_stats' );
881881

882+
// Delete update errors
883+
$apbct->error_delete( 'sfw_update', 'save_data' );
884+
$apbct->error_delete( 'sfw_update', 'save_data', 'cron' );
885+
882886
$rc_action = 'sfw_update__worker';
883887
$request_params = array(
884888
'delay' => $delay,

0 commit comments

Comments
 (0)