Fix FK issue with systemnotification table
Remove pass-by-reference, which causes critical errors in modern versions of PHP.