Skip to content

Commit 507451e

Browse files
authored
Fix. Scanner. Remove some actions from CORE files. (#505)
1 parent 42809d9 commit 507451e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

inc/spbc-settings.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2844,6 +2844,11 @@ function spbc_field_scanner__prepare_data__files(&$table)
28442844
$status = __('File will be automatically send for Cloud analysis within 5 minutes.', 'security-malware-firewall');
28452845
}
28462846

2847+
if ( $row->source_type === 'CORE' ) {
2848+
unset($row->actions['quarantine']);
2849+
unset($row->actions['delete']);
2850+
}
2851+
28472852
$table->items[] = array(
28482853
'cb' => $row->fast_hash,
28492854
'uid' => $row->fast_hash,

0 commit comments

Comments
 (0)