} else {
// Add points to account
initReferalSystem();
- $added = addPointsThroughReferalSystem('beg', $userid, $points, false, 0, getBegMode());
+ $added = addPointsThroughReferalSystem('beg', $userid, $points);
}
// Subtract begged points from member account if the admin has selected one
return $GLOBALS[__FUNCTION__];
}
-// "Getter" for beg_mode
-function getBegMode () {
- // Do we have cache?
- if (!isset($GLOBALS[__FUNCTION__])) {
- // Determine it
- $GLOBALS[__FUNCTION__] = getConfig('beg_mode');
- } // END - if
-
- // Return cache
- return $GLOBALS[__FUNCTION__];
-}
-
// "Getter" for beg_include_own
function getBegIncludeOwn () {
// Do we have cache?