diff --git a/com.woltlab.wcf/option.xml b/com.woltlab.wcf/option.xml
index b13615bde03..2a82335759e 100644
--- a/com.woltlab.wcf/option.xml
+++ b/com.woltlab.wcf/option.xml
@@ -1263,12 +1263,6 @@ DESC:wcf.global.sortOrder.descending
0
seconds
-
+
diff --git a/constants.php b/constants.php
index 3832ab3bfb0..1bb51d0e497 100644
--- a/constants.php
+++ b/constants.php
@@ -138,7 +138,6 @@
\define('USERS_ONLINE_DEFAULT_SORT_FIELD', 'lastActivityTime');
\define('USERS_ONLINE_DEFAULT_SORT_ORDER', 'DESC');
\define('USERS_ONLINE_PAGE_REFRESH', 0);
-\define('USERS_ONLINE_RECORD_NO_GUESTS', 1);
\define('USERS_ONLINE_ENABLE_LEGEND', 1);
\define('USERS_ONLINE_RECORD', 1);
\define('USERS_ONLINE_RECORD_TIME', 0);
diff --git a/wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php b/wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php
index 6f4d0c35096..ed896143783 100644
--- a/wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php
+++ b/wcfsetup/install/files/lib/data/user/online/UsersOnlineList.class.php
@@ -165,7 +165,7 @@ public function getUsersOnlineMarkings()
*/
public function checkRecord()
{
- $usersOnlineTotal = (USERS_ONLINE_RECORD_NO_GUESTS ? $this->stats['members'] : $this->stats['total']);
+ $usersOnlineTotal = $this->stats['members'];
if ($usersOnlineTotal > USERS_ONLINE_RECORD) {
// save new record
$optionAction = new OptionAction([], 'import', [
diff --git a/wcfsetup/install/files/lib/system/WCF.class.php b/wcfsetup/install/files/lib/system/WCF.class.php
index f26820f727b..f7fe627d744 100644
--- a/wcfsetup/install/files/lib/system/WCF.class.php
+++ b/wcfsetup/install/files/lib/system/WCF.class.php
@@ -495,6 +495,10 @@ protected function defineLegacyOptions(): void
\define('GOOGLE_MAPS_ENABLE_SCROLL_WHEEL_ZOOM', 0);
\define('GOOGLE_MAPS_ENABLE_DOUBLE_CLICK_ZOOM', 1);
\define('GOOGLE_MAPS_ACCESS_USER_LOCATION', 1);
+
+ // The option to count guests in the online record was removed with version 6.1.
+ // https://github.com/WoltLab/WCF/issues/5888
+ \define('USERS_ONLINE_RECORD_NO_GUESTS', 1);
}
/**
diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml
index d4efa6bd332..97f0e73090e 100644
--- a/wcfsetup/install/lang/de.xml
+++ b/wcfsetup/install/lang/de.xml
@@ -1569,7 +1569,6 @@ Die Beschränkung auf ASCII-Zeichen erlaubt in Benutzernamen lediglich lateinisc
Beispiele:
WBB=WoltLab Burning Board
GmbH=Gesellschaft mit beschränkter Haftung]]>
-
diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml
index 1ac577e011b..9d1025127b5 100644
--- a/wcfsetup/install/lang/en.xml
+++ b/wcfsetup/install/lang/en.xml
@@ -1507,7 +1507,6 @@ Restricting usernames to ASCII characters restricts usernames to latin letters,
-