// Add points in autopurge-mode
function addPointsAutoPurge ($userid, $points) {
// Is the userid valid?
- if (!isValidUserId($userid)) {
+ if (!isValidId($userid)) {
// Please report all these bugs
reportBug(__FUNCTION__, __LINE__, 'Invalid call. userid=' . $userid . ',points=' . $points);
} // END - if