Merge branch 'MDL-68579-38' of git://github.com/cescobedo/moodle into MOODLE_38_STABLE
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user