ABOUT THIS DIRECTORY
--------------------
-DO NOT CHANGE, RENAME OR MOVE ANY OF THE FILES IN THIS DIRECTORY
-unless you really know what you are doing.
+DO NOT CHANGE, RENAME OR MOVE ANY OF THE FILES
+IN THIS DIRECTORY unless you REALLY know what
+you are doing.
Changing these files could mess up your course.
-This directory contains files uploaded to your course within
-particular modules (mostly by students), such as assignment
-submissions and forum attachments.
+This directory contains files uploaded to your
+course within particular modules (mostly by
+students), such as assignment submissions and
+forum attachments.
-The names of the directories and files within this directory
-are very specific and automatically maintained by Moodle.
+The names of the directories and files within
+this directory are very specific and are
+automatically maintained by Moodle.
// This fragment is called by /admin/index.php
////////////////////////////////////////////////////////////////////////////////
-$module->version = 2002082805;
+$module->version = 2002082806;
$module->cron = 60;
function assignment_upgrade($oldversion) {
execute_sql(" ALTER TABLE `assignment_submissions` CHANGE `id` `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT ");
}
- if ($oldversion < 2002082805) {
+ if ($oldversion < 2002082806) {
// assignment file area was moved, so rename all the directories in existing courses
+ notify("Moving location of assignment files...");
+
$basedir = opendir("$CFG->dataroot");
while ($dir = readdir($basedir)) {
if ($dir == "." || $dir == ".." || $dir == "users") {