X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Freset%2Freset_surfbar.php;h=e1a0e23527ce175a7eaf4c216e73d91d3b72027e;hb=8ffce31d9ae39991adf913512d8f5db24fda0b2a;hp=9c9f0a1e216f81e259d2cf721c7e8feb7bc6d8c8;hpb=dbe56bb043ba16ca1ec1e9efa9effdc1f0612261;p=mailer.git diff --git a/inc/reset/reset_surfbar.php b/inc/reset/reset_surfbar.php index 9c9f0a1e21..e1a0e23527 100644 --- a/inc/reset/reset_surfbar.php +++ b/inc/reset/reset_surfbar.php @@ -1,7 +1,7 @@ "); // Reset surfbar counter -UPDATE_CONFIG(array("surfbar_daily_counter", "surfbar_yester_counter`"), array(0, $_CONFIG['surfbar_daily_counter'])); -$_CONFIG['surfbar_yester_counter'] = $_CONFIG['surfbar_daily_counter']; -$_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] ?>