mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-50287 completion: Rename tasks to remove the word 'cron'
This commit is contained in:
parent
0628925bf1
commit
160ccd3d09
@ -1020,8 +1020,8 @@ $string['taskcachecron'] = 'Background processing for caches';
|
||||
$string['taskcalendarcron'] = 'Send calendar notifications';
|
||||
$string['taskcheckforupdates'] = 'Check for updates';
|
||||
$string['taskcompletioncron'] = 'Calculate completion data';
|
||||
$string['taskcompletioncronregular'] = 'Calculate regular completion data';
|
||||
$string['taskcompletioncrondaily'] = 'Completion mark as started';
|
||||
$string['taskcompletionregular'] = 'Calculate regular completion data';
|
||||
$string['taskcompletiondaily'] = 'Completion mark as started';
|
||||
$string['taskcontextcleanup'] = 'Cleanup contexts';
|
||||
$string['taskcreatecontexts'] = 'Create missing contexts';
|
||||
$string['taskdeletecachetext'] = 'Delete old text cache records';
|
||||
|
@ -28,7 +28,7 @@ namespace core\task;
|
||||
* @copyright 2013 onwards Martin Dougiamas http://dougiamas.com.
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
|
||||
*/
|
||||
class completion_cron_daily_task extends scheduled_task {
|
||||
class completion_daily_task extends scheduled_task {
|
||||
|
||||
/**
|
||||
* Get a descriptive name for this task (shown to admins).
|
||||
@ -36,7 +36,7 @@ class completion_cron_daily_task extends scheduled_task {
|
||||
* @return string
|
||||
*/
|
||||
public function get_name() {
|
||||
return get_string('taskcompletioncrondaily', 'admin');
|
||||
return get_string('taskcompletiondaily', 'admin');
|
||||
}
|
||||
|
||||
/**
|
@ -28,7 +28,7 @@ namespace core\task;
|
||||
* @copyright 2015 Josh Willcock
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later.
|
||||
*/
|
||||
class completion_cron_regular_task extends scheduled_task {
|
||||
class completion_regular_task extends scheduled_task {
|
||||
|
||||
/**
|
||||
* Get a descriptive name for this task (shown to admins).
|
||||
@ -36,7 +36,7 @@ class completion_cron_regular_task extends scheduled_task {
|
||||
* @return string
|
||||
*/
|
||||
public function get_name() {
|
||||
return get_string('taskcompletioncronregular', 'admin');
|
||||
return get_string('taskcompletionregular', 'admin');
|
||||
}
|
||||
|
||||
/**
|
@ -159,7 +159,7 @@ $tasks = array(
|
||||
'month' => '*'
|
||||
),
|
||||
array(
|
||||
'classname' => 'core\task\completion_cron_regular_task',
|
||||
'classname' => 'core\task\completion_regular_task',
|
||||
'blocking' => 0,
|
||||
'minute' => '*',
|
||||
'hour' => '*',
|
||||
@ -168,7 +168,7 @@ $tasks = array(
|
||||
'month' => '*'
|
||||
),
|
||||
array(
|
||||
'classname' => 'core\task\completion_cron_daily_task',
|
||||
'classname' => 'core\task\completion_daily_task',
|
||||
'blocking' => 0,
|
||||
'minute' => 'R',
|
||||
'hour' => 'R',
|
||||
|
Loading…
x
Reference in New Issue
Block a user