Skip to content

Commit db96ab2

Browse files
committed
when disabling translation mappings, also remove the translator
1 parent 495c6d5 commit db96ab2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doctrine/Phpcr/NonTranslatableMetadataListener.php

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public function loadClassMetadata(LoadClassMetadataEventArgs $eventArgs)
5656
unset($meta->mappings[$meta->localeMapping]);
5757
$meta->localeMapping = null;
5858
}
59+
$meta->translator = null;
5960
}
6061
}
6162
}

0 commit comments

Comments
 (0)