[ticket/11464] Add missing and remove unnecessary database entry

PHPBB3-11464
Merge pull request #1632 from Elsensee/ticket/11464

[ticket/11464] Add missing and remove unnecessary database entry