diff --git a/db/hooks.php b/db/hooks.php index 4c8cac0..969f29d 100644 --- a/db/hooks.php +++ b/db/hooks.php @@ -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', ], ]; diff --git a/version.php b/version.php index 4854b44..aba0375 100644 --- a/version.php +++ b/version.php @@ -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;