function vtws_transferComments($sourceRecordId, $destinationRecordId) { if (vtlib_isModuleActive('ModComments')) { CRMEntity::getInstance('ModComments'); ModComments::transferRecords($sourceRecordId, $destinationRecordId); } }