// Getter for profile_update
function getProfileUpdate () {
- // Do we have cache?
+ // Is there cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
$GLOBALS[__FUNCTION__] = getConfig('profile_update');
// Getter for resend_profile_update
function getResendProfileUpdate () {
- // Do we have cache?
+ // Is there cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
$GLOBALS[__FUNCTION__] = getConfig('resend_profile_update');
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() {
- // Do we have cache?
+ // Is there cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
- $GLOBALS[__FUNCTION__] = (getConfig('send_prof_update') == 'Y');
+ $GLOBALS[__FUNCTION__] = (getSendProfUpdate() == 'Y');
} // END - if
// Return cache