mirror of https://github.com/MISP/MISP
fix: [internal] Remove unreachable code
parent
e0fd382408
commit
97d6c1324b
|
@ -353,9 +353,6 @@ class Attribute extends AppModel
|
|||
public function afterFind($results, $primary = false)
|
||||
{
|
||||
foreach ($results as &$v) {
|
||||
if (isset($v['Attribute']['object_relation']) && $v['Attribute']['object_relation'] === null) {
|
||||
$v['Attribute']['object_relation'] = '';
|
||||
}
|
||||
$v = $this->UTCToISODatetime($v, $this->alias);
|
||||
}
|
||||
return $results;
|
||||
|
|
Loading…
Reference in New Issue