X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Freset%2Freset_surfbar.php;h=1fbbc9cb6d859e2ccd43ae934bf5053eb5333a07;hb=154687dcd45c5b53e323eaba010eabab5950f876;hp=4fc2f6b741c445f779273974a9aa828d0a8a6e22;hpb=c45b1827a16928c65ecc1aea6a9d7a504c4874d4;p=mailer.git diff --git a/inc/reset/reset_surfbar.php b/inc/reset/reset_surfbar.php index 4fc2f6b741..1fbbc9cb6d 100644 --- a/inc/reset/reset_surfbar.php +++ b/inc/reset/reset_surfbar.php @@ -1,7 +1,7 @@ "); // Reset surfbar counter -UPDATE_CONFIG("surfbar_daily_counter", "0"); -$_CONFIG['surfbar_daily_counter'] = 0; +updateConfiguration(array('surfbar_daily_counter', 'surfbar_yester_counter'), array(0, getConfig('surfbar_daily_counter'))); +setConfigEntry('surfbar_yester_counter', getConfig('surfbar_daily_counter')); +setConfigEntry('surfbar_daily_counter' , 0); -// +// [EOF] ?>