Index: quiz.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/quiz/quiz.module,v
retrieving revision 1.109
diff -u -p -r1.109 quiz.module
--- quiz.module	1 Dec 2007 13:15:02 -0000	1.109
+++ quiz.module	2 Dec 2007 08:14:10 -0000
@@ -58,6 +58,22 @@ function quiz_perm() {
 }
 
 /**
+ * Implementation of hook_init().
+ *
+ * Adds Views 5.x-1.x support to the quiz module.
+ */
+function quiz_init() {
+  // Ensure that we are not serving a cached page.
+  if (function_exists('drupal_set_content')) {
+    // We don't do this in hook_menu to ensure the files are already included
+    // when views_menu is executed.
+    if (module_exists('views')) {
+      include_once('./'. drupal_get_path('module', 'quiz') .'/quiz_views.inc');
+    }
+  }
+}
+
+/**
  * Implementation of hook_access().
  */
 function quiz_access($op, $node) {
