[CLEANUP] Unqoute integer in BackendUserSessionRepository 87/32887/2
authorAndreas Fernandez <andreas.fernandez@aspedia.de>
Fri, 19 Sep 2014 13:46:22 +0000 (15:46 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Sat, 20 Sep 2014 21:03:23 +0000 (23:03 +0200)
commitb94c53eab0b4e46f48028e2fbb09f4b30b2ba3d6
tree62895eefd9008ab11c1f5590dc45f20b9212092f
parent66d5ac3ad72e92b4158f9d09cf9ae8e0ca6b03c7
[CLEANUP] Unqoute integer in BackendUserSessionRepository

In the method "findByBackendUser" in BackendUserSessionRepository,
the beuser uid used in the WHERE condition is casted to int and is
then quoted again.
This is not necessary and breaks the SQL for some DBMS.

Resolves: #61743
Releases: master, 6.2
Change-Id: Ibff2b6189efa16b8d7ce0acbc1637ce374f5f24d
Reviewed-on: http://review.typo3.org/32887
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Stefan Froemken <froemken@gmail.com>
Reviewed-by: Tymoteusz Motylewski <t.motylewski@gmail.com>
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/beuser/Classes/Domain/Repository/BackendUserSessionRepository.php