MDL-55611 calendar: remove duplicated 'scheduled task stuff'
authorDan Poltawski <dan@moodle.com>
Tue, 4 Apr 2017 16:02:07 +0000 (17:02 +0100)
committerDan Poltawski <dan@moodle.com>
Tue, 4 Apr 2017 16:02:07 +0000 (17:02 +0100)
lib/classes/task/calendar_cron_task.php

index bf7f957..f4c8741 100644 (file)
@@ -50,9 +50,6 @@ class calendar_cron_task extends scheduled_task {
 
         require_once($CFG->libdir . '/bennu/bennu.inc.php');
 
 
         require_once($CFG->libdir . '/bennu/bennu.inc.php');
 
-        mtrace('Updating calendar subscriptions:');
-        cron_trace_time_and_memory();
-
         $time = time();
         $sql = "SELECT *
                   FROM {event_subscriptions}
         $time = time();
         $sql = "SELECT *
                   FROM {event_subscriptions}
@@ -69,8 +66,6 @@ class calendar_cron_task extends scheduled_task {
             }
         }
 
             }
         }
 
-        mtrace('Finished updating calendar subscriptions.');
-
         return true;
     }
 
         return true;
     }