Merge branch 'MDL-32338' of git://github.com/nebgor/moodle
This commit is contained in:
+5
-5
@@ -1112,12 +1112,12 @@ class available_update_checker {
|
||||
*/
|
||||
protected function cron_execute() {
|
||||
|
||||
$this->restore_response();
|
||||
$previous = $this->recentresponse;
|
||||
$this->fetch();
|
||||
$this->restore_response(true);
|
||||
$current = $this->recentresponse;
|
||||
try {
|
||||
$this->restore_response();
|
||||
$previous = $this->recentresponse;
|
||||
$this->fetch();
|
||||
$this->restore_response(true);
|
||||
$current = $this->recentresponse;
|
||||
$changes = $this->compare_responses($previous, $current);
|
||||
$notifications = $this->cron_notifications($changes);
|
||||
$this->cron_notify($notifications);
|
||||
|
||||
Reference in New Issue
Block a user