Remove resourcelinker language file inclusion

1.10.x
Yannick Warnier 11 years ago
parent c1e4f20504
commit 79c1b703e6
  1. 1
      main/newscorm/resourcelinker.inc.php
  2. 2
      main/resourcelinker/resourcelinker.inc.php

@ -21,7 +21,6 @@ use \ChamiloSession as Session;
$use_anonymous = true;
require_once '../inc/global.inc.php';
require_once api_get_path(SYS_CODE_PATH).'lang/english/resourcelinker.inc.php';
if (!empty($_course['language'])){
$resource_linker_file = api_get_path(SYS_CODE_PATH).'lang/'.$_course['language'].'/resourcelinker.inc.php';
if (file_exists($resource_linker_file)) {

@ -17,8 +17,6 @@ use \ChamiloSession as Session;
* INIT SECTION
*/
//include(api_get_path(SYS_CODE_PATH).'lang/english/resourcelinker.inc.php'); // TODO: Repeated deleting and moving the rest of this lang file to trad4all
//include(api_get_path(SYS_CODE_PATH).'lang/'.$_course['language'].'/resourcelinker.inc.php'); // TODO: Repeated deleting and moving the rest of this lang file to trad4all
include(api_get_path(SYS_CODE_PATH).'exercice/hotpotatoes.lib.php');
/**

Loading…
Cancel
Save