]> git.mjollnir.org Git - moodle.git/commitdiff
moodle16cleanup: mod/forum added notification message
authormartinlanghoff <martinlanghoff>
Wed, 17 May 2006 06:29:15 +0000 (06:29 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 17 May 2006 06:29:15 +0000 (06:29 +0000)
mod/forum/db/postgres7.php

index ff5c1851be36ff9987b38b187d7640f8988e9c98..22c35323225ecab470e06c5eaf6c823ef3a879fd 100644 (file)
@@ -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')) ");
   }