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 function
pull/4421/head
iglocska 2019-03-11 10:29:45 +01:00
parent f331eecf33
commit 8b8d6c9256
1 changed files with 2 additions and 2 deletions

View File

@ -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 {