Question on how to replace a function

trying to fix problems before the migration can I ask your guidance to fix this point ?
web site :
it ask/suggest to remplace the function system_get_info() with 2 alternative …
how do I choose which one is the right one ? and shall I simply replace the text of the function with the new proposed one ?

Hi Elena

I am just following up here to confirm that we talked about this on our Zoom call. If anything else arises, please do not hesitate creating a new thread or reaching out again. As to anyone else reading this: In Elena’s case, the Ludwig module did in fact have a newer version available, and so updating the entire module rather than attempting to fix the issues highlighted by the Upgrade Status report was by and far the easiest approach.