Disabling sublanguage #3761

pull/3768/head
Julio Montoya 4 years ago
parent fec0317aab
commit 8aabc5b980
  1. 3
      public/main/admin/sub_language.php
  2. 2
      public/main/admin/sub_language_add.php
  3. 3
      public/main/admin/sub_language_ajax.inc.php
  4. 4
      public/main/inc/lib/sub_language.class.php

@ -1,5 +1,8 @@
<?php
/* For licensing terms, see /license.txt */
exit;
/**
* Script for sub-language administration.
*/

@ -22,7 +22,7 @@ $interbreadcrumb[] = ['url' => 'languages.php', 'name' => get_lang('Chamilo Port
/**
* Add sub-language.
*
* @deprecated
* @param string Original language name (Occitan, Wallon, Vlaams)
* @param string English language name (occitan, wallon, flanders)
* @param string ISO code (fr_FR, ...)

@ -1,6 +1,9 @@
<?php
/* For licensing terms, see /license.txt */
exit;
use Chamilo\CoreBundle\Entity\ExtraField;
/**

@ -210,7 +210,7 @@ class SubLanguageManager
/**
* Delete sub-language.
* In order to avoid deletion of main laguages, we check the existence of a parent.
*
* @deprecated
* @param int $parent_id The parent id
* @param bool $sub_language_id
*
@ -468,7 +468,7 @@ class SubLanguageManager
/**
* Get parent language path (or null if no parent).
*
* @deprecated
* @param string $language_path Children language path
*
* @return string Parent language path or null

Loading…
Cancel
Save