]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/other_functions.php
Also 'min_age' is now wrapped
[mailer.git] / inc / libs / other_functions.php
index a2b9fffed7d573072267cbbcc82842818dafe54c..d8542186cb38e704d0a6439c1b9468f9277e8e1b 100644 (file)
@@ -160,5 +160,17 @@ function getDisplayDebugSqls () {
        return $GLOBALS[__FUNCTION__];
 }
 
+// "Getter" for min_age
+function getMinAge () {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('min_age');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
 // [EOF]
 ?>