Permalink
Browse files

Uneccessary call to build category list that was grinding systems to a

halt with large numbers of categories.
  • Loading branch information...
1 parent 41e5c5a commit 18320d933125540c9ec119961927e7effd074df7 thepurpleblob committed Nov 9, 2005
Showing with 0 additions and 8 deletions.
  1. +0 −4 mod/quiz/export.php
  2. +0 −4 mod/quiz/import.php
View
@@ -93,10 +93,6 @@
/// Print upload form
- if (!$categories = quiz_get_category_menu($course->id, false)) {
- error("No categories!");
- }
-
// get valid formats to generate dropdown list
$fileformatnames = get_import_export_formats( "export" );
View
@@ -81,10 +81,6 @@
/// Print upload form
- if (!$categories = quiz_get_category_menu($course->id, false)) {
- error("No categories!");
- }
-
// get list of available import formats
$fileformatnames = get_import_export_formats( 'import' );

0 comments on commit 18320d9

Please sign in to comment.