diff --git a/mod/quiz/export.php b/mod/quiz/export.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/export.php
+++ b/mod/quiz/export.php
@@ -4,6 +4,10 @@
     require_once("../../config.php");
     require_once("locallib.php");
 
+    // list formats that are supported for export
+    // need to change this if you add something!
+    $fileformats = array( 'gift', 'xml', 'qti' );
+
     require_variable($category);
     optional_variable($format);
 
@@ -87,8 +91,7 @@
         error("No categories!");
     }
 
-    $fileformats = get_list_of_plugins("mod/quiz/format");
-    $fileformatname = array();
+    // iterate over valid formats to generate dropdown list
     foreach ($fileformats as $key => $fileformat) {
         $formatname = get_string($fileformat, 'quiz');
         if ($formatname == "[[$fileformat]]") {
Now only displays available export formats. List is now hard-coded in this file.