Remove deprecated language files during upgrade: update list - refs #4467

1.10.x
Yannick Warnier 10 years ago
parent 106040ab00
commit 9879b14ac0
  1. 27
      main/install/update-files-1.9.0-1.10.0.inc.php

@ -88,25 +88,52 @@ if (defined('SYSTEM_INSTALLATION')) {
); );
$filesToDelete = array( $filesToDelete = array(
'accessibility', 'accessibility',
'admin',
'agenda', 'agenda',
'announcements', 'announcements',
'blog',
'chat', 'chat',
'coursebackup',
'course_description', 'course_description',
'course_home', 'course_home',
'course_info',
'courses',
'create_course',
'document',
'dropbox',
'exercice',
'external_module', 'external_module',
'forum',
'glossary', 'glossary',
'gradebook',
'group',
'help',
'import', 'import',
'index',
'learnpath',
'link',
'md_document',
'md_link', 'md_link',
'md_mix', 'md_mix',
'md_scorm',
'messages', 'messages',
'myagenda', 'myagenda',
'notebook', 'notebook',
'notification',
'registration',
'reservation',
'pedaSuggest', 'pedaSuggest',
'resourcelinker', 'resourcelinker',
'scorm', 'scorm',
'scormbuilder', 'scormbuilder',
'scormdocument', 'scormdocument',
'slideshow', 'slideshow',
'survey',
'tracking',
'userInfo',
'videoconf',
'wiki',
'work',
); );
$list = scandir($langPath); $list = scandir($langPath);
foreach ($list as $entry) { foreach ($list as $entry) {

Loading…
Cancel
Save