MDL-70975 task: Support for running only failed ad hoc tasks

* CLI adhoc_task.php: new option --failed
This commit is contained in:
Srdjan
2023-04-05 11:05:23 +10:00
parent fa61fce08d
commit 6d9aaa8412
3 changed files with 32 additions and 3 deletions
+1 -1
View File
@@ -1359,7 +1359,7 @@ class manager {
*
* @param string|task_base $taskorstring Task object or a string
*/
protected static function get_canonical_class_name($taskorstring) {
public static function get_canonical_class_name($taskorstring) {
if (is_string($taskorstring)) {
$classname = $taskorstring;
} else {