Update HomepageForDomainExtension.php

Made $db private.