fix: [internal] Remove unreachable code

pull/7894/head
Jakub Onderka 2021-10-28 13:07:46 +02:00
parent e0fd382408
commit 97d6c1324b
1 changed files with 0 additions and 3 deletions

View File

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