Commit e246af9e authored by webchick's avatar webchick
Browse files

Issue #2080687 by chertzog: Remove Unused local variable from /core/modules/update/update.module.

parent 25044310
......@@ -672,7 +672,7 @@ function update_verify_update_archive($project, $archive_file, $directory) {
$compatible_project = FALSE;
$incompatible = array();
$files = file_scan_directory("$directory/$project", '/^' . DRUPAL_PHP_FUNCTION_PATTERN . '\.info.yml$/', array('key' => 'name', 'min_depth' => 0));
foreach ($files as $key => $file) {
foreach ($files as $file) {
// Get the .info.yml file for the module or theme this file belongs to.
$info = drupal_parse_info_file($file->uri);
......
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