Merge branch 'MDL-68579-38' of git://github.com/cescobedo/moodle into MOODLE_38_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2020-05-11 23:14:10 +02:00
@@ -59,6 +59,10 @@ class h5p_get_content_types_task extends scheduled_task {
* Execute the task.
*/
public function execute() {
// MDL-68579, avoid execute the task through behat tests.
if (defined('BEHAT_SITE_RUNNING')) {
return true;
}
$core = $this->get_core();