X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fwrapper-functions.php;h=e3f992d0be3bb609554533671b21c8e6637116db;hp=6e41821cd2bc15cc9945465e00287c3549c5d40b;hb=4418d7cfabd34a285cc5ff3638e3ba05d8afd16b;hpb=f888a0bda52e7dd2ea799837ed2991c263864e9f diff --git a/inc/wrapper-functions.php b/inc/wrapper-functions.php index 6e41821cd2..e3f992d0be 100644 --- a/inc/wrapper-functions.php +++ b/inc/wrapper-functions.php @@ -1619,7 +1619,7 @@ function isDisplayDebugSqlEnabled () { // Is there cache? if (!isset($GLOBALS[__FUNCTION__])) { // Determine it - $GLOBALS[__FUNCTION__] = ((isExtensionInstalledAndNewer('other', '0.2.2')) && (getConfig('display_debug_sqls') == 'Y')); + $GLOBALS[__FUNCTION__] = ((isExtensionInstalledAndNewer('other', '0.2.2')) && (getDisplayDebugSqls() == 'Y')); } // END - if // Return cache @@ -1655,7 +1655,7 @@ function ifInternalStatsEnabled () { // Is there cache? if (!isset($GLOBALS[__FUNCTION__])) { // Then determine it - $GLOBALS[__FUNCTION__] = (getConfig('internal_stats') == 'Y'); + $GLOBALS[__FUNCTION__] = ((isExtensionInstalledAndNewer('other', '0.2.6')) && (getInternalStats() == 'Y')); } // END - if // Return cached value @@ -1667,7 +1667,7 @@ function isAdminNotificationEnabled () { // Is there cache? if (!isset($GLOBALS[__FUNCTION__])) { // Determine it - $GLOBALS[__FUNCTION__] = ((isExtensionInstalledAndNewer('other', '0.3.0')) && (getConfig('admin_notify') == 'Y')); + $GLOBALS[__FUNCTION__] = ((isExtensionInstalledAndNewer('other', '0.3.0')) && (getAdminNotify() == 'Y')); } // END - if // Return cache