mirror of https://github.com/MISP/MISP
Left-over line removed
parent
a6a6c6bd35
commit
28901cc682
|
@ -1447,7 +1447,6 @@ class EventsController extends AppController {
|
|||
if ($this->_isAdmin()) $params['contain']['User'] = array('fields' => 'email');
|
||||
$results = $this->Event->find('all', $params);
|
||||
// Do some refactoring with the event
|
||||
$this->loadModel('Attribute');
|
||||
foreach ($results as $eventKey => &$event) {
|
||||
// Let's find all the related events and attach it to the event itself
|
||||
$results[$eventKey]['RelatedEvent'] = $this->Event->getRelatedEvents($this->Auth->user(), $event['Event']['id']);
|
||||
|
|
Loading…
Reference in New Issue