1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Fixes #3681 - Properly detect antiflood and online tracking prefs

- e_TRACKING_DISABLED is now properly defined when user tracking is turned off ('track_online').
- Use correct antiflood pref ('antiflood1')
- Remove old 'flood_protect' pref (which was not used anymore)
This commit is contained in:
Moc
2020-05-23 15:49:40 +02:00
parent c03945cd63
commit c92b6c5e6b
4 changed files with 5 additions and 5 deletions

View File

@@ -2221,9 +2221,10 @@ e107::getDebug()->log("Timezone: ".USERTIMEZONE); // remove later on.
$dbg->logTime('Go online');
if(!isset($_E107['no_online']) && varset($pref['track_online']))
if(!isset($_E107['no_online']))
{
e107::getOnline()->goOnline($pref['track_online'], $pref['flood_protect']);
e107::getOnline()->goOnline($pref['track_online'], $pref['antiflood1']);
}
$dbg->logTime('(After Go online)');