[CLEANUP] Unqoute integer in BackendUserSessionRepository 99/32899/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:55 +0000 (23:03 +0200)
commit8ca2c03318a7d1639e8465fb67bb8a9de9835281
tree69bc6727a8d80dc480b0c4202dc5b1b6a2d294d9
parentaee2c5a146f854903a53c6e6973a625405a07bca
[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/32899
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/beuser/Classes/Domain/Repository/BackendUserSessionRepository.php