Commit dd65743e authored by Dries's avatar Dries

- Patch #684828 by dww: function update_requirements() doesn't return anything...

- Patch #684828 by dww: function update_requirements() doesn't return anything during install and stops the install process.
parent 72d1794e
......@@ -28,6 +28,7 @@
* @see _update_cron_notify()
*/
function update_requirements($phase) {
$requirements = array();
if ($phase == 'runtime') {
if ($available = update_get_available(FALSE)) {
module_load_include('inc', 'update', 'update.compare');
......@@ -53,8 +54,8 @@ function update_requirements($phase) {
$requirements['update_core']['reason'] = UPDATE_UNKNOWN;
$requirements['update_core']['description'] = _update_no_data();
}
return $requirements;
}
return $requirements;
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment