From 6ab597cf6eeb82241f57ca7d13871338dbb9bcaa Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 22 Jan 2013 21:26:16 +0000 Subject: [PATCH] Better only check on daily reset --- inc/extensions/ext-transfer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5