Fix use of deprecated method
1 file changed