From: Tim Düsterhus Date: Wed, 22 Sep 2021 10:30:10 +0000 (+0200) Subject: Remove `escapeString()` from install.php X-Git-Tag: 5.5.0_Alpha_1~425 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4315835c1f10222407e15d1aca2555afbe516a3f;p=GitHub%2FWoltLab%2FWCF.git Remove `escapeString()` from install.php see 270ed434d4dc8a44862b38715b826f63943bfcb0 --- diff --git a/wcfsetup/install.php b/wcfsetup/install.php index 68da82eadd..47c700e89b 100644 --- a/wcfsetup/install.php +++ b/wcfsetup/install.php @@ -433,16 +433,6 @@ spl_autoload_register(function($className) { } }); -/** - * Escapes strings for execution in sql queries. - * - * @param string $string - * @return string - */ -function escapeString($string) { - return \wcf\system\WCF::getDB()->escapeString($string); -} - /** * Helper method to output debug data for all passed variables, * uses `print_r()` for arrays and objects, `var_dump()` otherwise.