Refactor query generation in UserSearchForm::search()
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 15 Mar 2021 11:22:12 +0000 (12:22 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 15 Mar 2021 11:22:12 +0000 (12:22 +0100)
commitd707135491aa8d94ca8acba02b67908f3643eb7e
tree01ff75f4f259b042c9a03994979184d5a6896f2a
parente29843d4b353b6a060f2b2858b649610f9c83998
Refactor query generation in UserSearchForm::search()

The `$sql` can easily be moved down, as it is only used in a single place. This
allows us to directly embed the condition.

see dec19b25cdf21b81d73c5897cd3c885d5ec62ef4
see #4078
wcfsetup/install/files/lib/form/UserSearchForm.class.php