From 4315835c1f10222407e15d1aca2555afbe516a3f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 22 Sep 2021 12:30:10 +0200 Subject: [PATCH] Remove `escapeString()` from install.php see 270ed434d4dc8a44862b38715b826f63943bfcb0 --- wcfsetup/install.php | 10 ---------- 1 file changed, 10 deletions(-) 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. -- 2.20.1