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(
'accessibility',
'admin',
'agenda',
'announcements',
'blog',
'chat',
'coursebackup',
'course_description',
'course_home',
'course_info',
'courses',
'create_course',
'document',
'dropbox',
'exercice',
'external_module',
'forum',
'glossary',
'gradebook',
'group',
'help',
'import',
'index',
'learnpath',
'link',
'md_document',
'md_link',
'md_mix',
'md_scorm',
'messages',
'myagenda',
'notebook',
'notification',
'registration',
'reservation',
'pedaSuggest',
'resourcelinker',
'scorm',
'scormbuilder',
'scormdocument',
'slideshow',
'survey',
'tracking',
'userInfo',
'videoconf',
'wiki',
'work',
);
$list = scandir($langPath);
foreach ($list as $entry) {

Loading…
Cancel
Save