projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f585bb3
)
Getter getBegUserid() added
author
Roland Häder
<roland@mxchange.org>
Mon, 5 Jul 2010 06:26:33 +0000
(06:26 +0000)
committer
Roland Häder
<roland@mxchange.org>
Mon, 5 Jul 2010 06:26:33 +0000
(06:26 +0000)
inc/libs/beg_functions.php
patch
|
blob
|
history
diff --git
a/inc/libs/beg_functions.php
b/inc/libs/beg_functions.php
index 9cd94d10eb7c8620257de35fe44c4ad0833feda5..e7faa39850f1d5d08bb08421aec1d69673afda1d 100644
(file)
--- a/
inc/libs/beg_functions.php
+++ b/
inc/libs/beg_functions.php
@@
-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]
?>