Code cleanup

This commit is contained in:
Molkobain
2021-03-05 08:45:25 +01:00
parent 5a18bfbd6f
commit 1eae57a401

View File

@@ -488,19 +488,6 @@ HTML
}
}
// Special case to display the case log, if any...
// WARNING: if you modify the loop below, also check the corresponding code in UpdateObject and DisplayModifyForm
// TODO 3.0.0: Remove when sure everything has been migrated (CHECK THE WARNING ABOVE!)
// foreach(MetaModel::ListAttributeDefs(get_class($this)) as $sAttCode => $oAttDef)
// {
// if ($oAttDef instanceof AttributeCaseLog)
// {
// $sComment = (isset($aExtraParams['fieldsComments'][$sAttCode])) ? $aExtraParams['fieldsComments'][$sAttCode] : '';
// $this->DisplayCaseLog($oPage, $sAttCode, $sComment, $sPrefix, $bEditMode);
// $aFieldsMap[$sAttCode] = $this->m_iFormId.'_'.$sAttCode;
// }
// }
return $aFieldsMap;
}