From bd25248345248cfaf34547035a2d1d4eb74d377a Mon Sep 17 00:00:00 2001
From: Thomas Fradet <t.fradet8@gmail.com>
Date: Thu, 21 Feb 2019 10:21:24 +0100
Subject: [PATCH] disabled tasks

---
 db/tasks.php | 60 +++++++++++++++++++++++++++-------------------------
 1 file changed, 31 insertions(+), 29 deletions(-)

diff --git a/db/tasks.php b/db/tasks.php
index 0e551ad..52a232b 100644
--- a/db/tasks.php
+++ b/db/tasks.php
@@ -8,34 +8,36 @@
 
 defined('MOODLE_INTERNAL') || die();
 
-$tasks = array(
-    array(
-        'classname' => 'block_competency_iena\task\sync_task_iena_roles',
-        'blocking' => 0,
-        'minute' => '0',
-        'hour' => '0',
-        'day' => '0',
-        'month' => '0',
-        'dayofweek' => '0'
-    ),
+$tasks = [];
 
-    array(
-        'classname' => 'block_competency_iena\task\sync_task_iena_roles_complete',
-        'blocking' => 0,
-        'minute' => '0',
-        'hour' => '0',
-        'day' => '0',
-        'month' => '0',
-        'dayofweek' => '0'
-    ),
+// $tasks = array(
+//     array(
+//         'classname' => 'block_competency_iena\task\sync_task_iena_roles',
+//         'blocking' => 0,
+//         'minute' => '0',
+//         'hour' => '0',
+//         'day' => '0',
+//         'month' => '0',
+//         'dayofweek' => '0'
+//     ),
 
-    array(
-        'classname' => 'block_competency_iena\task\sync_task_iena_competency',
-        'blocking' => 0,
-        'minute' => '0',
-        'hour' => '0',
-        'day' => '0',
-        'month' => '0',
-        'dayofweek' => '0'
-    )
-);
\ No newline at end of file
+//     array(
+//         'classname' => 'block_competency_iena\task\sync_task_iena_roles_complete',
+//         'blocking' => 0,
+//         'minute' => '0',
+//         'hour' => '0',
+//         'day' => '0',
+//         'month' => '0',
+//         'dayofweek' => '0'
+//     ),
+
+//     array(
+//         'classname' => 'block_competency_iena\task\sync_task_iena_competency',
+//         'blocking' => 0,
+//         'minute' => '0',
+//         'hour' => '0',
+//         'day' => '0',
+//         'month' => '0',
+//         'dayofweek' => '0'
+//     )
+// );
\ No newline at end of file
-- 
GitLab