]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/bonus_functions.php
Now the last extension update is being applied, added missing wrapper function for...
[mailer.git] / inc / libs / bonus_functions.php
index 3b3ad6a5fb1a2245225428cebc86499e8c601e84..a9175e22d9f603c4d02e7885c7483d69fb7975fb 100644 (file)
@@ -376,5 +376,17 @@ function getBonusRef () {
        return $GLOBALS[__FUNCTION__];
 }
 
+// Getter for bonus_userid
+function getBonusUserid () {
+       // Is there cache?
+       if (!isset($GLOBALS[__FUNCTION__])) {
+               // Determine it
+               $GLOBALS[__FUNCTION__] = getConfig('bonus_userid');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS[__FUNCTION__];
+}
+
 // [EOF]
 ?>