Moodle

Quiz database upgrade scripts call undefined function

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.6
  • Fix Version/s: None
  • Component/s: Quiz
  • Labels:
    None
  • Environment:
    All
  • Affected Branches:
    MOODLE_16_STABLE

Description

cvs:/mod/quiz/db/mysql.php calls quiz_delete_course() which no longer exists.

Gustav Delius moved (and renamed) that function to http://moodle.cvs.sourceforge.net/moodle/moodle/lib/questionlib.php calling it question_delete_course(), in a commit with subject of Moved code to delete questions and question categories to lib/questionlib.php. Also fixed MDL-4949, dated 2006-03-21 10:06:32.

Both mysql and postgres7 upgrade scripts need to be fixed.

Saludos. Iñaki.

Activity

Hide
Martin Dougiamas added a comment -

From Tim Hunt (T.J.Hunt at open.ac.uk) Tuesday, 18 July 2006, 07:01 PM:

Fix checked in to both 1.6_STABLE and HEAD. Thanks for spotting this.

Show
Martin Dougiamas added a comment - From Tim Hunt (T.J.Hunt at open.ac.uk) Tuesday, 18 July 2006, 07:01 PM: Fix checked in to both 1.6_STABLE and HEAD. Thanks for spotting this.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: