Comment unused code see #2503

pull/2624/head
Julio Montoya 7 years ago
parent f6cb4e1985
commit 89b4761e09
  1. 5
      main/social/personal_data.php

@ -403,7 +403,7 @@ $legalTermsRepo = $em->getRepository('ChamiloCoreBundle:Legal');
// Get data about the treatment of data // Get data about the treatment of data
$treatmentTypes = LegalManager::getTreatmentTypeList(); $treatmentTypes = LegalManager::getTreatmentTypeList();
foreach ($treatmentTypes as $id => $item) { /*foreach ($treatmentTypes as $id => $item) {
$personalData['treatment'][$item]['title'] = get_lang('PersonalData'.ucfirst($item).'Title'); $personalData['treatment'][$item]['title'] = get_lang('PersonalData'.ucfirst($item).'Title');
$legalTerm = $legalTermsRepo->findOneByTypeAndLanguage($id, api_get_language_id($user_language)); $legalTerm = $legalTermsRepo->findOneByTypeAndLanguage($id, api_get_language_id($user_language));
$legalTermContent = ''; $legalTermContent = '';
@ -411,7 +411,8 @@ foreach ($treatmentTypes as $id => $item) {
$legalTermContent = $legalTerm[0]['content']; $legalTermContent = $legalTerm[0]['content'];
} }
$personalData['treatment'][$item]['content'] = $legalTermContent; $personalData['treatment'][$item]['content'] = $legalTermContent;
} }*/
$officerName = api_get_configuration_value('data_protection_officer_name'); $officerName = api_get_configuration_value('data_protection_officer_name');
$officerRole = api_get_configuration_value('data_protection_officer_role'); $officerRole = api_get_configuration_value('data_protection_officer_role');
$officerEmail = api_get_configuration_value('data_protection_officer_email'); $officerEmail = api_get_configuration_value('data_protection_officer_email');

Loading…
Cancel
Save