Moodle
  1. Moodle
  2. MDL-26679

Block config settings don't allow setting of an empty list

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.0, 2.0.1, 2.0.2
    • Fix Version/s: None
    • Component/s: Blocks
    • Labels:
      None
    • Database:
      Any
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Rank:
      16273

      Description

      Current blocklib allows for various config settings to be provided to override the default list of blocks for a course...

      The tests however are for !empty - meaning that it's not possible to specify and use an empty list.

      i.e.
      $CFG->defaultblocks_topics = '';
      gets ignored

        Activity

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: