joomla/joomla-cms — pull request #2080 by Bakual (2013-09-27 11:08:03+00:00)
Title: Wrong variable name (probably typo)

`JPath::find()` is using the variable `$metadataFiles`, which isn't defined anywhere. It should be `$metadataFolders`.

Currently this breaks the menu item creating for views where there is a metadata.xml only.