Remove the redundant "avatar_allow_offline_mode_uuids" option.

Since {name} and {uuid} can be used in avatar_source_offline_mode,
 this option no longer serves a purpose. The avatar_source_offline_mode option makes avatar_allow_offline_mode_uuids obsolete.
This commit is contained in:
ruan 2020-06-08 18:10:29 +02:00
parent ca7e7dcccc
commit b45b174923
2 changed files with 0 additions and 7 deletions

View File

@ -210,10 +210,6 @@ class Page {
if (strlen($uuid) === 36 && $uuid[14] === '3') { if (strlen($uuid) === 36 && $uuid[14] === '3') {
$avatar_source = $this->settings->avatar_source_offline_mode; $avatar_source = $this->settings->avatar_source_offline_mode;
// Avatars cannot be associated with offline mode UUIDs (version 3)
if (!$this->settings->avatar_allow_offline_mode_uuids) {
$uuid = $name;
}
} }
$uuid = $this->uuid_undashify($uuid); $uuid = $this->uuid_undashify($uuid);

View File

@ -80,9 +80,6 @@ final class Settings {
// If enabled, names will be shown below avatars instead of being shown next to them. // If enabled, names will be shown below avatars instead of being shown next to them.
$this->avatar_names_below = true; $this->avatar_names_below = true;
// If enabled, offline-mode UUIDs will be requested from avatar_source instead of player names.
$this->avatar_allow_offline_mode_uuids = false;
// If enabled, the total amount of bans, mutes, warnings, and kicks will be shown next to the buttons in the header. // If enabled, the total amount of bans, mutes, warnings, and kicks will be shown next to the buttons in the header.
$this->header_show_totals = true; $this->header_show_totals = true;