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

Marcus

Well-known member
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
         (?, ?, ?)
   }
 
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 :)
 
Top Bottom