// Add points in autopurge-mode
function addPointsAutoPurge ($userid, $points) {
+ // Is the userid valid?
+ if (!isValidUserId($userid)) {
+ // Please report all these bugs
+ debug_report_bug(__FUNCTION__, __LINE__, 'Invalid call. userid=' . $userid . ',points=' . $points);
+ } // END - if
+
// Add points over the ref system directly now
addPointsDirectly('autopurge_add', $userid, $points);