mirror of https://github.com/MISP/MISP
fix: [Feeds] Don't try to find caches for feeds that don't have caching enabled
parent
1ab8a4e710
commit
fac5ffa7f3
|
@ -1224,7 +1224,8 @@ class Feed extends AppModel
|
|||
$fields = array('id', 'input_source', 'source_format', 'url', 'provider', 'name', 'default');
|
||||
$feeds = $this->find('all', array(
|
||||
'recursive' => -1,
|
||||
'fields' => $fields
|
||||
'fields' => $fields,
|
||||
'conditions' => array('Feed.caching_enabled' => 1)
|
||||
));
|
||||
// we'll use this later for the intersect
|
||||
$fields[] = 'values';
|
||||
|
|
Loading…
Reference in New Issue