mirror of https://github.com/MISP/MISP
fix: [export] cached exports for bro were broken
- bro still hasn't been migrated to restsearch - the exception for this in the caching algorithm called the wrong functionpull/4421/head
parent
f331eecf33
commit
8b8d6c9256
|
@ -46,7 +46,7 @@ class Job extends AppModel
|
|||
$process_id = CakeResque::enqueue(
|
||||
'cache',
|
||||
$shell . 'Shell',
|
||||
array('cache', $user['id'], $id, $type),
|
||||
array('cachebro', $user['id'], $id, $type),
|
||||
true
|
||||
);
|
||||
} elseif ($type === 'bro') {
|
||||
|
@ -56,7 +56,7 @@ class Job extends AppModel
|
|||
$process_id = CakeResque::enqueue(
|
||||
'cache',
|
||||
$shell . 'Shell',
|
||||
array('cache' . $type, $user['id'], $id, $extra, $extra2),
|
||||
array('cachebro' . $type, $user['id'], $id, $extra, $extra2),
|
||||
true
|
||||
);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue