Skip to content

Commit

Permalink
VID-734: Update plugin info
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Thies committed Jan 25, 2024
1 parent fd0b306 commit d926f2c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion classes/plugininfo/videotimeplugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class videotimeplugin extends \core\plugininfo\base {
* @return array|null
*/
public function available_updates() {
global $CFG;

$updates = parent::available_updates();

Expand All @@ -60,8 +61,12 @@ public function available_updates() {
$info = [
'maturity' => MATURITY_RC,
'release' => '1.8 RC 2',
'version' => 2023101101,
];
if ($CFG->branch < 403) {
$info['version'] = 2023101101;
} else {
$info['version'] = 2024012400;
}
break;
}
if (!empty($info) && $this->versiondb < $info['version']) {
Expand Down

0 comments on commit d926f2c

Please sign in to comment.