Navigation

Search

updateLastMessages

Description

Updates the last post info for the specified board(s).

Syntax

void updateLastMessages (array $setboards[, int $ID_MSG])



Parameter $setboards

Expected type: Array of Integers
Description: An array of one or more board IDs (indicates which boards should be updated)



Parameter $ID_MSG

Expected type: Integer
Description: If we're updating a single board, the ID of the last message in that board. [note: parameter is "$id_msg" in 2.0]


Notes

  • Located in Subs.php in earlier versions of SMF
View all versions of this function