projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
022e2d4
)
Remove `escapeString()` from install.php
author
Tim Düsterhus
<duesterhus@woltlab.com>
Wed, 22 Sep 2021 10:30:10 +0000
(12:30 +0200)
committer
Tim Düsterhus
<duesterhus@woltlab.com>
Wed, 22 Sep 2021 10:30:10 +0000
(12:30 +0200)
see
270ed434d4dc8a44862b38715b826f63943bfcb0
wcfsetup/install.php
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install.php
b/wcfsetup/install.php
index 68da82eadd81bd8c9a1688891241390a2cd8d224..47c700e89b917f30f52374e4e99f0283d9c259cb 100644
(file)
--- 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.