Merge from stable branch: Convert tabs to spaces in files where there were only a few rogue tabs.

This commit is contained in:
tjhunt
2006-05-17 16:47:44 +00:00
parent 9bd76b32f3
commit 450a0a7db7
24 changed files with 73 additions and 78 deletions
+6 -6
View File
@@ -881,9 +881,9 @@ function main_upgrade($oldversion=0) {
if ($oldversion < 2005012500) { // add new table for meta courses.
/*
modify_database("","CREATE TABLE prefix_meta_course (
id SERIAL primary key,
parent_course integer NOT NULL,
child_course integer NOT NULL
id SERIAL primary key,
parent_course integer NOT NULL,
child_course integer NOT NULL
);");
modify_database("","CREATE INDEX prefix_meta_course_parent_idx ON prefix_meta_course (parent_course);");
@@ -897,9 +897,9 @@ function main_upgrade($oldversion=0) {
execute_sql("ALTER TABLE {$CFG->prefix}course DROP COLUMN meta_course",false); // drop silently
modify_database("","CREATE TABLE prefix_course_meta (
id SERIAL primary key,
parent_course integer NOT NULL,
child_course integer NOT NULL
id SERIAL primary key,
parent_course integer NOT NULL,
child_course integer NOT NULL
);");
modify_database("","CREATE INDEX prefix_course_meta_parent_idx ON prefix_course_meta (parent_course);");