Merge branch 'MDL-87494-main-fix' of https://github.com/HuongNV13/moodle

This commit is contained in:
Mihail Geshoski
2026-03-11 15:59:02 +08:00
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -102,11 +102,11 @@ function xmldb_tool_mobile_upgrade($oldversion) {
upgrade_plugin_savepoint(true, 2026031000, 'tool', 'mobile');
}
if ($oldversion < 2026012700) {
if ($oldversion < 2026031100) {
// Run the subscription cache refresh task as soon as possible after upgrade by queueing an adhoc task.
$task = new \tool_mobile\task\refresh_subscription_cache_adhoc();
\core\task\manager::queue_adhoc_task($task, true);
upgrade_plugin_savepoint(true, 2026012700, 'tool', 'mobile');
upgrade_plugin_savepoint(true, 2026031100, 'tool', 'mobile');
}
return true;
}
+1 -1
View File
@@ -23,7 +23,7 @@
*/
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2026031000; // The current plugin version (Date: YYYYMMDDXX).
$plugin->version = 2026031100; // The current plugin version (Date: YYYYMMDDXX).
$plugin->requires = 2025092600; // Requires this Moodle version.
$plugin->component = 'tool_mobile'; // Full name of the plugin (used for diagnostics).
$plugin->dependencies = [