Moodle

make new general function for saving of admin settings

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major 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

Activity

Hide
Petr Škoda (skodak) added a comment -

done

Show
Petr Škoda (skodak) added a comment - done

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: