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

        Myles Carrick created issue -
        Myles Carrick made changes -
        Field Original Value New Value
        Affects Version/s 2.0.1 [ 10420 ]
        Affects Version/s 2.0 [ 10122 ]
        Martin Dougiamas made changes -
        Workflow MDL Workflow [ 68343 ] MDL Full Workflow [ 76051 ]
        Michael de Raadt made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee moodle.com [ moodle.com ]
        Resolution Won't Fix [ 2 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: