Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-11561 admin tree improvements and bugfixing - meta
  3. MDL-12489

make new general function for saving of admin settings

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9
    • Component/s: Administration
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      settings.php search.php and upgrdesettings.php duplicates a lot of code for saving of settings, the problem was in fact that checkboxes were not included in _POST.
      problems:

      • checkboxes bug in upgradesettings - unchecked meant default value
      • setting dependency problems
      • fragile upgrade settings if errors
      • other minor problems

        Attachments

          Activity

            People

            • Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Tester:
              Nobody
              Participants:
              Component watchers:
              Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08