Need to rework _quiz_get_results() for D7, or delete it.

Found this because a custom module depended on it. It doesn't look like this function is used any more inside of quiz, so maybe it should just be deleted/deprecated?

Files: 
CommentFileSizeAuthor
#1 quiz-quiz_get_results_fix-1814312-1.patch1.85 KBpaalj

Comments

paalj’s picture

Status:Active» Needs review
StatusFileSize
new1.85 KB

I have updated the code to be D7-compliant.

varshith’s picture

Thanks. The patch works fine.

varshith’s picture

Thanks. The patch works fine.

sivaji@knackforge.com’s picture

Title:Fatal error: Call to undefined function db_rewrite_sql() in quiz.module 3615» Remove dead function _quiz_get_results()
Status:Needs review» Fixed

I removed it from quiz module.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 732d6a0 on 7.x-4.x, 7.x-5.x by sivaji:
    Refs #1814312 - remove dead function _quiz_get_results().
    

  • Commit 732d6a0 on 7.x-4.x, 7.x-5.x, quiz-pages by sivaji:
    Refs #1814312 - remove dead function _quiz_get_results().
    

  • Commit 732d6a0 on 7.x-4.x, 7.x-5.x, quiz-pages, 2269219 by sivaji:
    Refs #1814312 - remove dead function _quiz_get_results().
    

  • Commit 732d6a0 on 7.x-4.x, 7.x-5.x, 2269219 by sivaji:
    Refs #1814312 - remove dead function _quiz_get_results().