You are here

function quiz_uninstall in Quiz 7

Same name and namespace in other branches
  1. 8.4 quiz.install \quiz_uninstall()
  2. 5.2 quiz.install \quiz_uninstall()
  3. 5 quiz.install \quiz_uninstall()
  4. 6.6 quiz.install \quiz_uninstall()
  5. 6.2 quiz.install \quiz_uninstall()
  6. 6.3 quiz.install \quiz_uninstall()
  7. 6.4 quiz.install \quiz_uninstall()
  8. 6.5 quiz.install \quiz_uninstall()
  9. 7.6 quiz.install \quiz_uninstall()
  10. 7.4 quiz.install \quiz_uninstall()
  11. 7.5 quiz.install \quiz_uninstall()

Implements hook_uninstall().

File

./quiz.install, line 660
Quiz install schema for installing the quiz module

Code

function quiz_uninstall() {
  db_delete('variable')
    ->condition('name', "quiz_%", 'like')
    ->execute();
}