Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

moodle16cleanup: mod/forum added notification message

  • Loading branch information...
commit c4ca8d4596e66537f6e8e880d316d4a2440875f9 1 parent 66c7e47
martinlanghoff authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  mod/forum/db/postgres7.php
View
1  mod/forum/db/postgres7.php
@@ -156,6 +156,7 @@ function forum_upgrade($oldversion) {
}
if ($oldversion < 2006011600) {
+ notify('forum_type does not exists, you can ignore and this will properly removed');
execute_sql("ALTER TABLE {$CFG->prefix}forum DROP CONSTRAINT {$CFG->prefix}forum_type");
execute_sql("ALTER TABLE {$CFG->prefix}forum ADD CONSTRAINT {$CFG->prefix}forum_type CHECK (type IN ('single','news','general','social','eachuser','teacher','qanda')) ");
}

0 comments on commit c4ca8d4

Please sign in to comment.
Something went wrong with that request. Please try again.