I have a quick question regarding a line of code in bb_func_vthread.php. In the "/* User info in posts */" section of the code there is this line:
$xtr=getClForums($userInfo,'where','',$dbUserId,'or','=');
(and the associated):
unset($xtr);
My question - is this line needed? Because from what I checked, it only produces a list of user_ids of the posters in the thread, like:
where (user_id=505 or user_id=0 or user_id=44 or user_id=181 or user_id=128 or user_id=109 or user_id=123)
I don't understand why it would be ever needed to call this getClForums function on action='vthread' pages (within the user info posts).. When I commented these lines, everything seemed to work the same.. (even though I have closed forum) and without these lines the script would be a little faster since it won't call this getClForums function? Thank you.