]> git.mjollnir.org Git - moodle.git/commitdiff
Slight improvements to documentation
authormartin <martin>
Wed, 28 Aug 2002 13:20:20 +0000 (13:20 +0000)
committermartin <martin>
Wed, 28 Aug 2002 13:20:20 +0000 (13:20 +0000)
lang/en/docs/module_files.txt
mod/assignment/version.php

index e9036fd1f7e039eb65863a1db399d64dd8406378..cd1cc03f1460d2e887bf5f68a792a8c2fbbff723 100644 (file)
@@ -1,15 +1,18 @@
 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.
 
index 7d53002032677be196a379827a67e0305dbb7eb7..a2dbca0f86d0cc1361ba15182d4160295cccc55b 100644 (file)
@@ -5,7 +5,7 @@
 //  This fragment is called by /admin/index.php
 ////////////////////////////////////////////////////////////////////////////////
 
-$module->version  = 2002082805;
+$module->version  = 2002082806;
 $module->cron     = 60;
 
 function assignment_upgrade($oldversion) {
@@ -59,9 +59,11 @@ 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") {