Update core 8.3.0
This commit is contained in:
parent
da7a7918f8
commit
cd7a898e66
6144 changed files with 132297 additions and 87747 deletions
|
@ -18,9 +18,9 @@ function _update_cron_notify() {
|
|||
$update_config = \Drupal::config('update.settings');
|
||||
module_load_install('update');
|
||||
$status = update_requirements('runtime');
|
||||
$params = array();
|
||||
$params = [];
|
||||
$notify_all = ($update_config->get('notification.threshold') == 'all');
|
||||
foreach (array('core', 'contrib') as $report_type) {
|
||||
foreach (['core', 'contrib'] as $report_type) {
|
||||
$type = 'update_' . $report_type;
|
||||
if (isset($status[$type]['severity'])
|
||||
&& ($status[$type]['severity'] == REQUIREMENT_ERROR || ($notify_all && $status[$type]['reason'] == UPDATE_NOT_CURRENT))) {
|
||||
|
|
Reference in a new issue