Issue #2409515 by joelpittet: Updater::findInfoFile() was never updated for .info -> .info.yml change.
parent
402bfd9426
commit
f894d63965
|
@ -101,7 +101,7 @@ class Updater {
|
|||
return FALSE;
|
||||
}
|
||||
foreach ($info_files as $info_file) {
|
||||
if (Unicode::substr($info_file->filename, 0, -5) == drupal_basename($directory)) {
|
||||
if (Unicode::substr($info_file->filename, 0, -9) == drupal_basename($directory)) {
|
||||
// Info file Has the same name as the directory, return it.
|
||||
return $info_file->uri;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue