mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Slight improvements to documentation
This commit is contained in:
parent
ca4f8eb868
commit
5a34779307
@ -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.
|
||||
|
||||
|
@ -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") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user