Skip to content

Commit

Permalink
Bump minimist from 1.2.0 to 1.2.5 in /vue
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Bösch <[email protected]>
  • Loading branch information
lucaboesch committed Mar 31, 2020
1 parent bab7b79 commit 431a9e2
Show file tree
Hide file tree
Showing 4 changed files with 255 additions and 241 deletions.
4 changes: 2 additions & 2 deletions db/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -1051,8 +1051,8 @@ function xmldb_local_differentiator_install() {
'tswid' => 14,
'lang' => 'en',
'timecreated' => $time,
'tswetitle' => 'Discribe',
'tswetext' => 'discribe the',
'tswetitle' => 'Describe',
'tswetext' => 'describe the',
]);
$DB->insert_record('local_differentiator_tswe', [
'tswid' => 15,
Expand Down
14 changes: 14 additions & 0 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5767,5 +5767,19 @@ function xmldb_local_differentiator_upgrade($oldversion = 0) {
// Plugin savepoint reached.
upgrade_plugin_savepoint(true, 2020020100, 'local', 'differentiator');
}

if ($oldversion < 2020040100) {
$time = time();
$tswe = $DB->get_record('local_differentiator_tswe', ['tswid' => 14, 'lang' => 'en']);
if (!empty($tswe)) {
$tswe->tswetitle = 'Describe';
$tswe->tswetext = 'describe the';
$tswe->timemodified = $time;
$DB->update_record('local_differentiator_tswe', $tswe);
}

// Plugin savepoint reached.
upgrade_plugin_savepoint(true, 2020040100, 'local', 'differentiator');
}
return true;
}
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
defined('MOODLE_INTERNAL') || die();

$plugin->component = 'local_differentiator';
$plugin->release = '1.4.0';
$plugin->version = 2020020100;
$plugin->release = '1.4.1';
$plugin->version = 2020040100;
$plugin->requires = 2018051700;
$plugin->maturity = MATURITY_STABLE;
Loading

0 comments on commit 431a9e2

Please sign in to comment.