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

insert_category_and_question_ids() function name can cause name conflics

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9, 2.0
    • Fix Version/s: 1.9, 2.0
    • Component/s: Quiz
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      There is one new function under mod/quiz/backuplib.php called insert_category_and_question_ids().

      That name should be, IMO, quiz_insert_category_and_question_ids(), to avoid conflicts with other modules.

      I haven't reviewed if there are more module-specific functions in the same situation but a quick review would be nice.

      Assigned to Jamie after HQ chat with Tim.

      Ciao

        Attachments

          Activity

            People

            Assignee:
            jamiesensei Jamie Pratt
            Reporter:
            stronk7 Eloy Lafuente (stronk7)
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08