• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Mark All Forums Read is really doing one query for every forum?

Marcus

Well-known member
#1
I have several hundred forums, it really seems that every forum gets its own query when marking all forums read. Is that true?
PHP:
  public function markForumRead(array $forum, $readDate, array $viewingUser = null){
       INSERT INTO xf_forum_read
         (user_id, node_id, forum_read_date)
       VALUES
         (?, ?, ?)
   }
 

Marcus

Well-known member
#3
OK it's fine for me, I do not want my users to click on that function anyway too much - they should be informed about the nice new content :)