]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
More wrapper functions introduced, duplicate language strings merged:
[mailer.git] / inc / wrapper-functions.php
index afd6a25b19b6e54dea2cb7ea70bdc306b7656d16..4c3e4a8c0e835c630b338c1dc3677e731c6ae04a 100644 (file)
@@ -1934,6 +1934,18 @@ function getAdminMenu () {
        return $GLOBALS[__FUNCTION__];
 }
 
+// "Getter" for last_month
+function getLastMonth () {
+       // Do we have cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('last_month');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
 // Checks wether proxy configuration is used
 function isProxyUsed () {
        // Do we have cache?