Merge branch 'MDL-63333_master' of git://github.com/markn86/moodle
[moodle.git] / lib / db / upgrade.php
index fca6c1c..fc5e777 100644 (file)
@@ -2352,5 +2352,13 @@ function xmldb_main_upgrade($oldversion) {
         upgrade_main_savepoint(true, 2018091400.01);
     }
 
+    if ($oldversion < 2018091700.01) {
+        // Remove unused setting.
+        unset_config('messaginghidereadnotifications');
+
+        // Main savepoint reached.
+        upgrade_main_savepoint(true, 2018091700.01);
+    }
+
     return true;
 }