summaryrefslogtreecommitdiff
path: root/includes/bootstrap.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/bootstrap.inc')
-rw-r--r--includes/bootstrap.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 3712607d6..b1da3b337 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -346,13 +346,6 @@ function arg($index) {
}
/**
- * Prepare user input for use in a database query, preventing SQL injection attacks.
- */
-function check_query($text) {
- return addslashes($text);
-}
-
-/**
* Prepare user input for use in a URI.
*
* We replace ( and ) with their entity equivalents to prevent XSS attacks.