mirror of
https://github.com/friendica/friendica
synced 2025-05-21 19:44:12 +02:00
Rename DBA::clean_query to DBA::cleanQuery
This commit is contained in:
parent
910e832dc2
commit
abbaaf5aa5
3 changed files with 5 additions and 5 deletions
|
@ -306,7 +306,7 @@ class DBA
|
|||
* @param string $sql An SQL string without the values
|
||||
* @return string The input SQL string modified if necessary.
|
||||
*/
|
||||
public static function clean_query($sql) {
|
||||
public static function cleanQuery($sql) {
|
||||
$search = ["\t", "\n", "\r", " "];
|
||||
$replace = [' ', ' ', ' ', ' '];
|
||||
do {
|
||||
|
@ -396,7 +396,7 @@ class DBA
|
|||
logger('Parameter mismatch. Query "'.$sql.'" - Parameters '.print_r($args, true), LOGGER_DEBUG);
|
||||
}
|
||||
|
||||
$sql = self::clean_query($sql);
|
||||
$sql = self::cleanQuery($sql);
|
||||
$sql = self::anyValueFallback($sql);
|
||||
|
||||
$orig_sql = $sql;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue