]> git.mxchange.org Git - mailer.git/commitdiff
Getter getBegUserid() added
authorRoland Häder <roland@mxchange.org>
Mon, 5 Jul 2010 06:26:33 +0000 (06:26 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 5 Jul 2010 06:26:33 +0000 (06:26 +0000)
inc/libs/beg_functions.php

index 9cd94d10eb7c8620257de35fe44c4ad0833feda5..e7faa39850f1d5d08bb08421aec1d69673afda1d 100644 (file)
@@ -79,5 +79,17 @@ function isBegRallyeEnabled () {
        return $GLOBALS['is_beg_rallye_enabled'];
 }
 
+// "Getter" for beg_userid
+function getBegUserid () {
+       // Do we have cache?
+       if (!isset($GLOBALS['beg_userid'])) {
+               // Get it
+               $GLOBALS['beg_userid'] = getConfig('beg_userid');
+       } // END - if
+
+       // Return cache
+       return $GLOBALS['beg_userid'];
+}
+
 // [EOF]
 ?>