return $GLOBALS[__FUNCTION__];
}
-// Getter for send_prof_update
-function getSendProfUpdate () {
+// Getter for send_profile_update
+function getSendProfileUpdate () {
// Is there cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
- $GLOBALS[__FUNCTION__] = getConfig('send_prof_update');
+ $GLOBALS[__FUNCTION__] = getConfig('send_profile_update');
} // END - if
// Return cache
// Is there cache?
if (!isset($GLOBALS[__FUNCTION__])) {
// Determine it
- $GLOBALS[__FUNCTION__] = (getSendProfUpdate() == 'Y');
+ $GLOBALS[__FUNCTION__] = ((isExtensionInstalledAndNewer('profile', '0.1.0')) && (getSendProfileUpdate() == 'Y'));
} // END - if
// Return cache