]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/doubler_functions.php
Made mails debugable without messing the output, fixes for forced sponsor registratio...
[mailer.git] / inc / libs / doubler_functions.php
index cc143c2e6ccd4b52567739a0c2569dadbd36e4f5..85dad12df4fb96c36c62183bd660ea66804f4b3c 100644 (file)
@@ -151,5 +151,17 @@ function getDoublerTotalPointsLeft() {
        return $points;
 }
 
+// "Getter" for doubler_userid
+function getDoublerUserid () {
+       // Is it cached?
+       if (!isset($GLOBALS['doubler_userid'])) {
+               // Get it
+               $GLOBALS['doubler_userid'] = getConfig('doubler_userid');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS['doubler_userid'];
+}
+
 // [EOF]
 ?>