Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-64225

Clarify the use of $CFG->skiplangupgrade

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE

      Description

      We have the (undocumented?) $CFG->skiplangupgrade = true config option.

      Unless I'm wrong, it was created to avoid the language packs to be updated as part of the upgrade process.

      Instead, we are using it to:

      1) Prevent the use of the import languages UI (admin/tool/langimport).
      2) Prevent the execution of the update_langpacks_task task.
      3) Prevent the update of langpacks in upgrade (lib/upgradelib.php)

      And only the 3rd use above seems to be the correct one.

      So this is about:

      A) Document the configuration setting where appropriate.
      B) Review the uses above and decide if all them are valid or things should be controlled in another way (new setting, unconditionally, whatever...)

      Ciao

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Matteo Scaramuccia, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, cameron1729, David Mudrák (@mudrd8mz), Helen Foster
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: