X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fdoubler_functions.php;h=6ca451b69a3fe7d4e567e502d5edf9ba693bb061;hp=fc13a2f44c16d3c023b673253c39cae3ab6f7246;hb=171923dfbd09758b7cbf58aff40c5a358407061a;hpb=b01f073d391432e1d5bd81e198ef255934b746d8 diff --git a/inc/libs/doubler_functions.php b/inc/libs/doubler_functions.php index fc13a2f44c..6ca451b69a 100644 --- a/inc/libs/doubler_functions.php +++ b/inc/libs/doubler_functions.php @@ -265,5 +265,17 @@ function getDoublerCharge () { return $GLOBALS[__FUNCTION__]; } +// "Getter" for doubler_max_sent +function getDoublerMaxSent () { + // Is there cache? + if (!isset($GLOBALS[__FUNCTION__])) { + // Determine it + $GLOBALS[__FUNCTION__] = getConfig('doubler_max_sent'); + } // END - if + + // Return cache + return $GLOBALS[__FUNCTION__]; +} + // [EOF] ?>