From c6b0b931bc2b1e6891babd1cd5fd280872c0b27b Mon Sep 17 00:00:00 2001 From: Michal Gebauer Date: Mon, 7 Sep 2015 11:15:03 +0200 Subject: [PATCH] Fixed: Config name for tree should be treeable #11 --- readme.md | 2 +- src/Rixxi/Gedmo/DI/OrmExtension.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 347e3eb..0164959 100644 --- a/readme.md +++ b/readme.md @@ -41,7 +41,7 @@ gedmo: sortable: on timestampable: on translatable: on - tree: on + treeable: on uploadable: on # you must add bit type to your doctrine connection and soft-deleteable to filters diff --git a/src/Rixxi/Gedmo/DI/OrmExtension.php b/src/Rixxi/Gedmo/DI/OrmExtension.php index 935b6b9..c3508b9 100644 --- a/src/Rixxi/Gedmo/DI/OrmExtension.php +++ b/src/Rixxi/Gedmo/DI/OrmExtension.php @@ -23,7 +23,7 @@ class OrmExtension extends CompilerExtension implements Kdyby\Doctrine\DI\IEntit 'sortable' => FALSE, 'timestampable' => FALSE, 'translatable' => FALSE, - 'tree' => FALSE, + 'treeable' => FALSE, 'uploadable' => FALSE, ); @@ -34,7 +34,7 @@ class OrmExtension extends CompilerExtension implements Kdyby\Doctrine\DI\IEntit 'sortable', 'timestampable', 'translatable', - 'tree', + 'treeable', 'uploadable', ); @@ -46,7 +46,7 @@ public function getEntityMappings() $annotations = array( 'loggable', 'translatable', - 'tree', + 'treeable', ); $path = realpath(__DIR__ . '/../../../../../../gedmo/doctrine-extensions/lib/Gedmo');