]> git.mxchange.org Git - mailer.git/commitdiff
Better only check on daily reset
authorRoland Häder <roland@mxchange.org>
Tue, 22 Jan 2013 21:26:16 +0000 (21:26 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 22 Jan 2013 21:26:16 +0000 (21:26 +0000)
inc/extensions/ext-transfer.php

index 367e534c9c9c6666ecd90208fbc99a027e2db6e7..8eab386fc2efd00cff2fccce1a58ec24ffdfee26 100644 (file)
@@ -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