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