mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-30151 finally remove mod/forum:initialsubscriptions and improve perf
The 'mod/forum:initialsubscriptions' was introduced in 1.7 as a workaround for missing enrolment info - the mod_form forum help was not even updated to mention this capability. Now that we have reliable enrolment info we can significantly improve both enrol and unenrol performance. Hopefully majority of users will not miss this capability...
This commit is contained in:
parent
735de1c276
commit
bc196cbe21
4 changed files with 46 additions and 338 deletions
|
@ -1,5 +1,4 @@
|
|||
<?php
|
||||
|
||||
// This file is part of Moodle - http://moodle.org/
|
||||
//
|
||||
// Moodle is free software: you can redistribute it and/or modify
|
||||
|
@ -19,11 +18,15 @@
|
|||
* Code fragment to define the module version etc.
|
||||
* This fragment is called by /admin/index.php
|
||||
*
|
||||
* @package mod-forum
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
* @package mod
|
||||
* @subpackage forum
|
||||
* @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com}
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$module->version = 2011052300;
|
||||
$module->requires = 2011052300; // Requires this Moodle version
|
||||
$module->cron = 60;
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$module->version = 2011110600;
|
||||
$module->requires = 2011110200; // Requires this Moodle version
|
||||
$module->cron = 60;
|
||||
$module->component = 'mod_forum';
|
Loading…
Add table
Add a link
Reference in a new issue