Fixes #2916. The signature didn't cause any bugs, since the DB object is only used for very specific things in the profile_server_messaging and must-reset scripts, but this corrects the invocation.
Also makes the UnblockCode parameter explicitly optional.
I wasn't sure if a test was necessary here. The bad signature doesn't represent any outward bug. profileUpdates (which does all the work in this script) is tested elsewhere.
Fixes #2916. The signature didn't cause any bugs, since the DB object is only used for very specific things in the profile_server_messaging and must-reset scripts, but this corrects the invocation.
Also makes the UnblockCode parameter explicitly optional.
I wasn't sure if a test was necessary here. The bad signature doesn't represent any outward bug.
profileUpdates
(which does all the work in this script) is tested elsewhere.