mirror of
https://github.com/e107inc/e107.git
synced 2025-08-17 20:01:47 +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:
@@ -81,7 +81,7 @@ class e_online
|
||||
//global $members_online, $total_online; // Not needed as globals
|
||||
global $listuserson; // FIXME - remove it, make it property, call e_online signleton - e107::getOnline()
|
||||
|
||||
if($online_tracking === false && $flood_control === false)
|
||||
if($online_tracking == false || $flood_control == false)
|
||||
{
|
||||
define('e_TRACKING_DISABLED', true); // Used in forum, online menu
|
||||
define('TOTAL_ONLINE', '');
|
||||
|
Reference in New Issue
Block a user