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

Forum colums are not always dropped

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7
    • Component/s: Forum
    • Labels:
      None
    • Environment:
      Any
    • Database:
      Any
    • Affected Branches:
      MOODLE_17_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE

      Description

      In the latest upgrade code added to the forum, it seems that both the "open" and the "assesspublic" are only dropped if there are forums in the site (such code is under "if ($forums = get_records('forum')) {" some lines above.

      Although it is really difficult to have one site without forums, such code should go out (I discovered it with my ultra-small test site, where such columns weren't being dropped).

      Ciao

        Attachments

          Activity

            People

            Assignee:
            vyshane Vy-Shane Sin Fat
            Reporter:
            stronk7 Eloy Lafuente (stronk7)
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, 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:
              7/Nov/06