summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_user.class7
1 files changed, 0 insertions, 7 deletions
diff --git a/it_user.class b/it_user.class
index 3bb9c3a..f05bb00 100644
--- a/it_user.class
+++ b/it_user.class
@@ -92,13 +92,6 @@ function read($id = null)
# Get username from database field (shortcut)
$this->username = $this->{$this->p['username_field']};
- # username == uid means we don't have a username yet
- if ($this->username && $this->username == $this->uid) # FIXME 2020-12 CS Remove support for legacy user records with username = uid
- {
- it::error(['to' => 'schneider@search.ch', 'title' => "Legacy user record with username = uid ($this->uid)"]);
- $this->username = "";
- }
-
return $result;
}