mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Fixed inserts for log_display table.
This commit is contained in:
parent
f53d75517e
commit
1b51a8ed9c
@ -399,7 +399,7 @@ function glossary_upgrade($oldversion) {
|
||||
}
|
||||
|
||||
if ($oldversion < 2005031001) {
|
||||
modify_database('',"INSERT INTO prefix_log_display VALUES ('glossary', 'view entry', 'glossary_entries', 'concept');");
|
||||
modify_database('',"INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'view entry', 'glossary_entries', 'concept');");
|
||||
}
|
||||
|
||||
if ($oldversion < 2005041100) { // replace wiki-like with markdown
|
||||
|
@ -148,18 +148,18 @@ CREATE TABLE prefix_glossary_ratings (
|
||||
# Dumping data for table `log_display`
|
||||
#
|
||||
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'add', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'update', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'view', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'view all', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'add entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'update entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'add category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'update category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'delete category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'add comment', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'update comment', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'delete comment', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'approve entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'view entry', 'glossary_entries', 'concept');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'add', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'update', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'view', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'view all', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'add entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'update entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'add category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'update category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'delete category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'add comment', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'update comment', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'delete comment', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'approve entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'view entry', 'glossary_entries', 'concept');
|
||||
|
||||
|
@ -158,17 +158,17 @@ rem
|
||||
rem Dumping data for table log_display
|
||||
rem
|
||||
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'add', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'update', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'delete', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'add', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'update', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'delete', 'glossary', 'name');
|
||||
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'view', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'view all', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'view', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'view all', 'glossary', 'name');
|
||||
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'add entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'update entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'delete entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'add entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'update entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'delete entry', 'glossary', 'name');
|
||||
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'add category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'update category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'delete category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'add category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'update category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'delete category', 'glossary', 'name');
|
||||
|
@ -159,7 +159,7 @@ function glossary_upgrade($oldversion) {
|
||||
}
|
||||
|
||||
if ($oldversion < 2005031001) {
|
||||
modify_database('',"INSERT INTO prefix_log_display VALUES ('glossary', 'view entry', 'glossary_entries', 'concept');");
|
||||
modify_database('',"INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'view entry', 'glossary_entries', 'concept');");
|
||||
}
|
||||
|
||||
if ($oldversion < 2005041100) { // replace wiki-like with markdown
|
||||
|
@ -164,17 +164,17 @@ CREATE INDEX prefix_glossary_ratings_entryid_idx ON prefix_glossary_ratings (ent
|
||||
# Dumping data for table `log_display`
|
||||
#
|
||||
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'add', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'update', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'view', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'view all', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'add entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'update entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'add category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'update category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'delete category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'add comment', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'update comment', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'delete comment', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'approve entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display VALUES ('glossary', 'view entry', 'glossary_entries', 'concept');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'add', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'update', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'view', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'view all', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'add entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'update entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'add category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'update category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'delete category', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'add comment', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'update comment', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'delete comment', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'approve entry', 'glossary', 'name');
|
||||
INSERT INTO prefix_log_display (module, action, mtable, field) VALUES ('glossary', 'view entry', 'glossary_entries', 'concept');
|
||||
|
Loading…
x
Reference in New Issue
Block a user