From: Roland Häder Date: Tue, 22 Jan 2013 21:26:16 +0000 (+0000) Subject: Better only check on daily reset X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6ab597cf6eeb82241f57ca7d13871338dbb9bcaa;p=mailer.git Better only check on daily reset --- diff --git a/inc/extensions/ext-transfer.php b/inc/extensions/ext-transfer.php index 367e534c9c..8eab386fc2 100644 --- a/inc/extensions/ext-transfer.php +++ b/inc/extensions/ext-transfer.php @@ -287,7 +287,7 @@ INDEX (`to_userid`)", break; case 'init': // When extension is initialized - if ((isResetModeEnabled()) && (getConfig('ap_transfer') == 'Y')) { + if ((isDailyResetEnabled()) && (getConfig('ap_transfer') == 'Y')) { // Automatically remove outdated or not displayed transactions autoPurgeTransfers(getConfig('transfer_max'), getConfig('transfer_age')); } // END - if