MDL-23984 no coursefile dirs exist any more

This commit is contained in:
Petr Skoda
2010-08-29 10:42:45 +00:00
parent fcab3e647e
commit 81457bef51
2 changed files with 0 additions and 5 deletions
-2
View File
@@ -26,8 +26,6 @@
$categoryid = $pagevars['cat'];
}
// ensure the files area exists for this course
make_upload_directory("$COURSE->id");
list($catid, $catcontext) = explode(',', $pagevars['cat']);
if (!$category = $DB->get_record("question_categories", array("id" => $catid, 'contextid' => $catcontext))) {
print_error('nocategory','quiz');