Developer credits
Git commits in Moodle 3.9.x by Farhan Karmali
commit caf5ebb582400897ea6bd8cf232a4f043f9adb37 Author: Farhan Karmali <farhan6318@gmail.com> Date: Mon, 24 Feb 2020 16:17:14 +0800 Tag: v3.9.0-beta MDL-67024 Lib: Check if user->mnethostid is set before using it