replace deprecated function

Closes #3248951

Merge request reports

Loading