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:
@@ -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)');
|
||||
|
Reference in New Issue
Block a user