Skip to content

Commit

Permalink
MDL-48210 updates checker: Fix empty return type
Browse files Browse the repository at this point in the history
Credit goes to Marina Glancy for catching during the testing.
  • Loading branch information
mudrd8mz committed Nov 26, 2014
1 parent 32c670c commit 26f72b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/classes/update/checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ protected function cron_notifications(array $changes) {
global $CFG;

if (empty($changes)) {
return;
return array();
}

$notifications = array();
Expand Down

0 comments on commit 26f72b0

Please sign in to comment.