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