MDL-32235 workshop cron support
On every invocation, the workshop will give its subplugins a chance to to something useful. For now, we know that the scheduled allocator will use it, no need to load other plugin types yet (until there will be a real reason for it).
This commit is contained in:
@@ -17,15 +17,14 @@
|
||||
/**
|
||||
* Defines the version of workshop
|
||||
*
|
||||
* @package mod
|
||||
* @subpackage workshop
|
||||
* @package mod_workshop
|
||||
* @copyright 2009 David Mudrak <[email protected]>
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
defined('MOODLE_INTERNAL') || die();
|
||||
|
||||
$module->version = 2012030700; // The current module version (Date: YYYYMMDDXX)
|
||||
$module->requires = 2012030100.04; // Requires this Moodle version
|
||||
$module->component = 'mod_workshop'; // Full name of the plugin (used for diagnostics)
|
||||
$module->cron = 0;
|
||||
$module->version = 2012032900; // the current module version (YYYYMMDDXX)
|
||||
$module->requires = 2012032300; // requires this Moodle version
|
||||
$module->component = 'mod_workshop'; // full name of the plugin (used for diagnostics)
|
||||
$module->cron = 60; // give as a chance every minute
|
||||
|
||||
Reference in New Issue
Block a user