chg: [internal] Remove not necessary GalaxyCluster initialization

pull/6384/head
Jakub Onderka 2020-10-04 13:02:44 +02:00
parent 503206a13d
commit e379a218ea
1 changed files with 0 additions and 4 deletions

View File

@ -1254,10 +1254,6 @@ class EventsController extends AppController
$warningTagConflicts = array();
$filters = $this->_harvestParameters($filterData, $exception);
$this->loadModel('GalaxyCluster');
if (!$this->_isRest()) {
//$attack = $this->GalaxyCluster->Galaxy->constructAttackReport($event);
}
$emptyEvent = (empty($event['Object']) && empty($event['Attribute']));
$this->set('emptyEvent', $emptyEvent);
$attributeCount = isset($event['Attribute']) ? count($event['Attribute']) : 0;