It looks like you're new here. If you want to get involved, click one of these buttons!
I guess it is a general PHP question, but it might as well be Vanilla related: why is there sometimes
$UserModel = Gdn::UserModel(); and on other places
$UserModel = new UserModel(); used? Is one of them to be preferred? Should I avoid one of both syntaxes do they differ in what is going on behind the scenes?