Moodle
  1. Moodle
  2. MDL-2140

glossary - categories not deleted with glossary

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: Glossary
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_14_STABLE
    • Rank:
      14065

      Description

      Categories not deleted with glossary - see line 140 mod/glossary/lib.php (1.89.2.11)

      foreach ( $categories as $hook ) {

      should be:

      foreach ( $categories as $cat ) {

      Maybe the orphaned categories could be deleted from the database too.

        Activity

        Hide
        Martin Dougiamas added a comment -

        From Eloy Lafuente (stronk7 at moodle.org) Tuesday, 2 November 2004, 06:48 AM:

        Solved in 1.4 and 1.5. Thanks...

        I leave this bug open because I'll implement the deletion of orphaned categories sometime in the future...(1.5 only) because I've to send a lot of changes after 1.4.2 release to 1.4 and 1.5 (print view improvements...)

        From Eloy Lafuente (stronk7 at moodle.org) Tuesday, 11 January 2005, 08:41 PM:

        Done, now the upgrade process will delete all those orphaned categories...ciao

        Show
        Martin Dougiamas added a comment - From Eloy Lafuente (stronk7 at moodle.org) Tuesday, 2 November 2004, 06:48 AM: Solved in 1.4 and 1.5. Thanks... I leave this bug open because I'll implement the deletion of orphaned categories sometime in the future...(1.5 only) because I've to send a lot of changes after 1.4.2 release to 1.4 and 1.5 (print view improvements...) From Eloy Lafuente (stronk7 at moodle.org) Tuesday, 11 January 2005, 08:41 PM: Done, now the upgrade process will delete all those orphaned categories...ciao
        Hide
        Michael Blake added a comment -

        assign to a valid user

        Show
        Michael Blake added a comment - assign to a valid user

          People

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

            Dates

            • Created:
              Updated:
              Resolved: