MantisBT: master f624e424

Author Committer Branch Timestamp Parent
dregad dregad master 2023-05-28 12:44 master 4345246e
Affected Issues  0032704: Remove deprecated function db_prepare_string()
Changeset

Remove deprecated db_prepare_string() function

It was used in:

  • user_set_fields() to escape the field names when building the SQL
    query to update the user data. This function is normally only used
    internally, so $p_fields array can be considered as trusted input.
  • file_move_bug_attachments() to escape the file path, which is not
    necessary (parameterized query)

Fixes 0032704

mod - core/database_api.php Diff File
mod - core/file_api.php Diff File
mod - core/user_api.php Diff File