From b435d5b492f9b6821b97591631f006f5b786f438 Mon Sep 17 00:00:00 2001 From: Glomberg Date: Mon, 21 Apr 2025 05:59:02 +0300 Subject: [PATCH] Fix. Scanner. Remove some actions from CORE files. --- inc/spbc-settings.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/inc/spbc-settings.php b/inc/spbc-settings.php index 017ee5e5a..184c31fa8 100644 --- a/inc/spbc-settings.php +++ b/inc/spbc-settings.php @@ -2844,6 +2844,11 @@ function spbc_field_scanner__prepare_data__files(&$table) $status = __('File will be automatically send for Cloud analysis within 5 minutes.', 'security-malware-firewall'); } + if ( $row->source_type === 'CORE' ) { + unset($row->actions['quarantine']); + unset($row->actions['delete']); + } + $table->items[] = array( 'cb' => $row->fast_hash, 'uid' => $row->fast_hash,