return $GLOBALS[__FUNCTION__];
}
+// Getter for send_prof_update
+function getSendProfUpdate () {
+ // Is there cache?
+ if (!isset($GLOBALS[__FUNCTION__])) {
+ // Determine it
+ $GLOBALS[__FUNCTION__] = getConfig('send_prof_update');
+ } // END - if
+
+ // Return cache
+ return $GLOBALS[__FUNCTION__];
+}
+
// Determines whether sending profile update notification is enabled
function isSendProfileUpdateEnabled() {
// Is there cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
- $GLOBALS[__FUNCTION__] = (getConfig('send_prof_update') == 'Y');
+ $GLOBALS[__FUNCTION__] = (getSendProfUpdate() == 'Y');
} // END - if
// Return cache