Skip to content

Commit

Permalink
MDL-66120 block_community: make upgrade steps match current version
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Sep 3, 2019
1 parent ea1283d commit 3213963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/db/upgrade.php
Expand Up @@ -3465,7 +3465,7 @@ function xmldb_main_upgrade($oldversion) {
upgrade_main_savepoint(true, 2019073100.00);
}

if ($oldversion < 2019082400.01) {
if ($oldversion < 2019083000.01) {

// If block_community is no longer present, remove it.
if (!file_exists($CFG->dirroot . '/blocks/community/communitycourse.php')) {
Expand Down Expand Up @@ -3510,7 +3510,7 @@ function xmldb_main_upgrade($oldversion) {
$DB->delete_records_list('capabilities', 'name', $capabilitiestoberemoved);
}

upgrade_main_savepoint(true, 2019082400.01);
upgrade_main_savepoint(true, 2019083000.01);
}

return true;
Expand Down

0 comments on commit 3213963

Please sign in to comment.