X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-online.php;h=ec2317cbb5cc84d39afc0fb4b0960cee0836882d;hb=7967841ac94cdcbd10b4d5c011a1e0a9982ec600;hp=e8df9e777748f31878233bc4d8ef0e5e4eda2e5f;hpb=a743c06b732cf6ae8d605379551ac03a87a9bf48;p=mailer.git diff --git a/inc/modules/guest/action-online.php b/inc/modules/guest/action-online.php index e8df9e7777..ec2317cbb5 100644 --- a/inc/modules/guest/action-online.php +++ b/inc/modules/guest/action-online.php @@ -52,12 +52,9 @@ $total = SQL_NUMROWS($result_guests) + SQL_NUMROWS($result_members) + SQL_N if ($_CONFIG['mad_counter'] < $total) { // Update counter + UPDATE_CONFIG(array("mad_timestamp", "mad_count"), array(time(), $total)); $_CONFIG['mad_counter'] = $total; $_CONFIG['last_mad'] = time(); - $result_mad = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_config SET mad_timestamp=%d, mad_count='%s' WHERE config=0 LIMIT 1", - array($_CONFIG['last_mad'], $_CONFIG['mad_counter']), __FILE__, __LINE__); - - // Destroy cache } // Put all values in constants for the template