[ticket/11691] Fix table names and arguments/docs

PHPBB3-11691