block: Use correct function wfGetDB() as defined