Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

moodle16cleanup: mod/forum added notification message

  • Loading branch information...
commit c4ca8d4596e66537f6e8e880d316d4a2440875f9 1 parent 66c7e47
martinlanghoff authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  mod/forum/db/postgres7.php
1  mod/forum/db/postgres7.php
@@ -156,6 +156,7 @@ function forum_upgrade($oldversion) {
156 156 }
157 157
158 158 if ($oldversion < 2006011600) {
  159 + notify('forum_type does not exists, you can ignore and this will properly removed');
159 160 execute_sql("ALTER TABLE {$CFG->prefix}forum DROP CONSTRAINT {$CFG->prefix}forum_type");
160 161 execute_sql("ALTER TABLE {$CFG->prefix}forum ADD CONSTRAINT {$CFG->prefix}forum_type CHECK (type IN ('single','news','general','social','eachuser','teacher','qanda')) ");
161 162 }

0 comments on commit c4ca8d4

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