updateFleetUniques

(/rs/public/functions.php)

updateFleetUniques -- Updates unique member counts for fleet/wing rosters.

Description

int updateFleetUniques ($fleetID)

This function updates the Members column in the Fleet and Wing tables for a given fleet and all wings in that fleet. It returns the number of unique members in the fleet.

This function returns 0 on failure.

Examples

updateFleetUniques (1) /* Updates the membership count for fleet with id 1, as well as the wing membership counts for all wings in that fleet. Returns fleet membership count. */

Related Functions

None.

Dependencies

fleetMemberPins, wingMemberPins

Function Index