]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/profile_functions.php
Updated copyright notice as there are changes in this year
[mailer.git] / inc / libs / profile_functions.php
index 6394642c17c0428e5bb9b3cd4d45fbe7210a078f..2dddd9fa592ad1b40c19979ceea3d16f0d06e10d 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -68,12 +68,12 @@ function getResendProfileUpdate () {
        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
@@ -85,7 +85,7 @@ function isSendProfileUpdateEnabled() {
        // 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