Issue #2409515 by joelpittet: Updater::findInfoFile() was never updated for .info -> .info.yml change.

8.0.x
webchick 2015-02-12 14:48:48 -08:00
parent 402bfd9426
commit f894d63965
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}