Commit f894d639 authored by webchick's avatar webchick

Issue #2409515 by joelpittet: Updater::findInfoFile() was never updated for...

Issue #2409515 by joelpittet: Updater::findInfoFile() was never updated for .info -> .info.yml change.
parent 402bfd94
......@@ -101,7 +101,7 @@ public static function findInfoFile($directory) {
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;
}
......
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