Merge pull request #16528 from frederic34/patch-4

remove unused code
This commit is contained in:
Laurent Destailleur 2021-03-03 15:10:58 +01:00 committed by GitHub
commit 43e58f70a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,8 +198,6 @@ class DefaultValues extends CommonObject
// Load source object
$result = $object->fetchCommon($fromid);
if ($result > 0 && !empty($object->table_element_line)) $object->fetchLines();
// Reset some properties
unset($object->id);