From 744b1b551e2dcc104230af461e09ceeea2b07ad1 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 5 Jan 2021 14:28:08 +0100 Subject: Remove obsolete special case username == uid, we do not have such cases anymore --- it_user.class | 7 ------- 1 file changed, 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; } -- cgit v1.2.3