Use a `?` placeholder for the `USER_SESSION_LIMIT` in SessionHandler
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 13 May 2022 09:14:19 +0000 (11:14 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 13 May 2022 09:14:19 +0000 (11:14 +0200)
commit2ed2f44a522736146cae7293368b7464a0670c2e
treed99a5eb771f7a4e11af95124488f6e43187e7bb4
parent2928ec2f7bed5c4e0601063b0e8edc4f1a908e55
Use a `?` placeholder for the `USER_SESSION_LIMIT` in SessionHandler

MySQL supports placeholders within the `LIMIT`, make use of this to avoid the
string concatenation that breaks syntax highlighting of the SQL query within
the IDE.
wcfsetup/install/files/lib/system/session/SessionHandler.class.php