Skip to content

Commit

Permalink
Merge pull request #74 from Panopto/upgrade-php-hotfix
Browse files Browse the repository at this point in the history
updated upgrade.php to contain right date for most recent upgrade
  • Loading branch information
jmalmsten-panopto authored Oct 24, 2016
2 parents 4572d44 + 90ec704 commit 7bef430
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function xmldb_block_panopto_upgrade($oldversion = 0) {
upgrade_block_savepoint(true, 2015012901, 'panopto');
}

if ($oldversion < 2016081900) {
if ($oldversion <= 2016101227) {
// Move block global settings to <prefix>_config_plugin table.
// First, move each server configuration. We are not relying here on
// block_panopto_server_number to determine number of servers, as there
Expand Down Expand Up @@ -127,7 +127,7 @@ function xmldb_block_panopto_upgrade($oldversion = 0) {
unset_config('block_panopto_async_tasks');
}
// Panopto savepoint reached.
upgrade_block_savepoint(true, 2016081900, 'panopto');
upgrade_block_savepoint(true, 2016101227, 'panopto');
}

return true;
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

// Plugin version should normally be the same as the internal version.
// If an admin wants to install with an older version number, however, set that here.
$plugin->version = 2016101227;
$plugin->version = 2016102400;

// Requires this Moodle version - 2.7.
$plugin->requires = 2014051200;
Expand Down

0 comments on commit 7bef430

Please sign in to comment.