We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f7cab8 + f152c6f commit b1cca61Copy full SHA for b1cca61
Doctrine/Phpcr/NonTranslatableMetadataListener.php
@@ -33,7 +33,6 @@ public function getSubscribedEvents()
33
{
34
return array(
35
'loadClassMetadata',
36
- 'postLoad',
37
);
38
}
39
@@ -59,18 +58,4 @@ public function loadClassMetadata(LoadClassMetadataEventArgs $eventArgs)
59
58
60
61
62
-
63
- /**
64
- * We set the locale field to false so that other code can use the
65
- * information that translations are deactivated.
66
- *
67
- * @param LifecycleEventArgs $eventArgs
68
- */
69
- public function postLoad(LifecycleEventArgs $eventArgs)
70
- {
71
- $object = $eventArgs->getObject();
72
- if ($object instanceof TranslatableInterface) {
73
- $object->setLocale(false);
74
- }
75
76
0 commit comments