mirror of
https://github.com/silverstripe/recipe-plugin.git
synced 2024-10-22 14:05:55 +02:00
Merge branch '2.0' into 2
This commit is contained in:
commit
34f5f48730
@ -96,8 +96,8 @@ class RecipePlugin implements PluginInterface, EventSubscriberInterface, Capable
|
||||
$data = $file->read();
|
||||
|
||||
// Remove project and public files from project
|
||||
unset($data['extra'][self::PROJECT_FILES]);
|
||||
unset($data['extra'][self::PUBLIC_FILES]);
|
||||
unset($data['extra'][RecipePlugin::PROJECT_FILES]);
|
||||
unset($data['extra'][RecipePlugin::PUBLIC_FILES]);
|
||||
|
||||
// Remove redundant empty extra
|
||||
if (empty($data['extra'])) {
|
||||
|
Loading…
Reference in New Issue
Block a user