]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/transfer_functions.php
Refback and referal points hopefully fixed:
[mailer.git] / inc / libs / transfer_functions.php
index e91581f03fd92096ab1abb2511100a1f9d7ce33a..b3ddbd646bf8eccbdfb031e2886514538cb0f116 100644 (file)
@@ -80,5 +80,21 @@ function autoPurgeTransfers ($max, $age) {
        } // END - if
 }
 
+//-----------------------------------------------------------------------------
+//                              Wrapper functions
+//-----------------------------------------------------------------------------
+
+// Wrapper function for transfer_code
+function getTransferCode () {
+       // Is cache set?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Get config entry
+               $GLOBALS[__FUNCTION__] = getConfig('transfer_code');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
 // [EOF]
 ?>