]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/autopurge_functions.php
Major rewrite of template system:
[mailer.git] / inc / libs / autopurge_functions.php
index a8ecdd1771ab09d833cefc5ebefe83404e0b959e..e1b5526b3e22f51c9c814aba20083f63c99538a3 100644 (file)
@@ -109,6 +109,18 @@ function getApInactiveTime () {
        return $GLOBALS[__FUNCTION__];
 }
 
+// "Getter" for auto_purge
+function getAutoPurge () {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('auto_purge');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
 // "Getter" for ap_dm_timeout
 function getApDmTimeout () {
        // Is there cache?