updateStats

Description

Updates various stats.

Syntax

void updateStats (string $type[, string $condition])



Parameter $type

Expected type: Enumerated String
Description: What type of stats to update

Possible string values
Allowed values Description
'calendar' Updates upcoming birthdays, upcoming events and upcoming holidays
'member' Updates latest member, number of unapproved members and total number of members (called after registration or after an account is deleted)
'messages' Updates total number of messages and the MaxMsgID setting (called after a new reply or a new topic)
'postgroups' Updates postgroup memberships
'topics' Updates total number of topics (called after a new topic is made)



Parameter $condition

Expected type: String
Description: Can be used to specify a particular condition for postgroup updates (ie "ID_POST_GROUP > x")


Advertisement: