[BUGFIX] Replace deprecated calls in Repository
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Fri, 12 Oct 2012 12:51:38 +0000 (14:51 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 14 Oct 2012 19:31:27 +0000 (21:31 +0200)
commitb9d9769899c2f33131d01bceda420f7a145831bf
tree8658e98604bcb9bf1905627c196fb47decd5715d
parent6d134a1bf10dd239205bbd49469fba8cbea23adc
[BUGFIX] Replace deprecated calls in Repository

Repository class uses deprecated calls of persistenceManager for
getting the backend and session singletons. Replace it with dependency
injection.

Change-Id: I492d0fc3aeafd60dcae738f3f120aa1ef507205f
Fixes: #35869
Releases: 1.4, 4.7, 6.0
Reviewed-on: http://review.typo3.org/10262
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/extbase/Classes/Persistence/Repository.php
typo3/sysext/extbase/Tests/Unit/Persistence/RepositoryTest.php