Everything uses trim(), trim returns "" if empty, removes the SDQL2 trimtext (#87994)

## About The Pull Request
Title. I may have been wrong about how depended on this behaviour was
Also, uh, fixes #87986
## Why It's Good For The Game

trim_reduced no longer needs to exist because trimtext() does it faster,
and there's no reason to have a special proc if trim just calls that
proc anyways. I sincerely doubt the proc overhead is so severe that we
need another proc that will ever only be called directly 3 times in the
code.

Since trimtext() does something we don't expect, it's better to just
have SDQL2 queries use trim() so we're all on the same page.

## Changelog

NO!!!
This commit is contained in:
tonty
2024-11-20 02:12:22 +01:00
committed by GitHub
parent f83d741b71
commit ee16f1fccc
3 changed files with 5 additions and 8 deletions
@@ -117,9 +117,6 @@
/proc/_text2num(T)
return text2num(T)
/proc/_trimtext(Text)
return trimtext(Text)
/proc/_ohearers(Dist, Center = usr)
return ohearers(Dist, Center)