Skip to content

Commit

Permalink
Change hook declaration for backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Nguyen committed Dec 5, 2024
1 parent 64b6718 commit d31cfa3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion db/hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
],
[
'hook' => \core\hook\after_config::class,
'callback' => [\local_envbar\hook_callbacks::class, 'after_config'],
'callback' => '\local_envbar\hook_callbacks::after_config',
],
];
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@

defined('MOODLE_INTERNAL') || die;

$plugin->version = 2024112000; // The current plugin version (Date: YYYYMMDDXX).
$plugin->release = 2024112000; // Same as version
$plugin->version = 2024112001; // The current plugin version (Date: YYYYMMDDXX).
$plugin->release = 2024112001; // Same as version
$plugin->requires = 2014051200; // Requires Moodle 2.7 or later.
$plugin->component = 'local_envbar';
$plugin->maturity = MATURITY_STABLE;
Expand Down

0 comments on commit d31cfa3

Please sign in to comment.