From f169cc63af97d821d5d06e5d77c5ebc907990c8e Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sun, 4 Oct 2015 02:48:55 -0700 Subject: [PATCH] Make generalizeSQL() protected Change-Id: Ib1317576b82993adf5ae454f9ecd8bd148a58cc9 --- includes/db/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/db/Database.php b/includes/db/Database.php index 4bbb4915a3..ab614084eb 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -1756,7 +1756,7 @@ abstract class DatabaseBase implements IDatabase { * * @return string */ - static function generalizeSQL( $sql ) { + protected static function generalizeSQL( $sql ) { # This does the same as the regexp below would do, but in such a way # as to avoid crashing php on some large strings. # $sql = preg_replace( "/'([^\\\\']|\\\\.)*'|\"([^\\\\\"]|\\\\.)*\"/", "'X'", $sql ); -- 2.20.1