[ticket/11448] Use of $user_id parameter to mark a user's notifications read

Currently, the $user_id is a parameter but is not used. This patch fixes that.

PHPBB3-11448
Merge pull request #1318 from imkingdavid/ticket/11448

[ticket/11448] Use of $user_id parameter to mark a user's notifications read