diff options
author | Christian Schneider | 2021-01-05 14:28:08 +0100 |
---|---|---|
committer | Christian Schneider | 2021-01-05 14:28:08 +0100 |
commit | 744b1b551e2dcc104230af461e09ceeea2b07ad1 (patch) | |
tree | 44a12388d85761fc5f37572833cec3b9ad23af38 | |
parent | 13150f87c59dc052f698e7e905c07f56ccefaec7 (diff) | |
download | itools-744b1b551e2dcc104230af461e09ceeea2b07ad1.tar.gz itools-744b1b551e2dcc104230af461e09ceeea2b07ad1.tar.bz2 itools-744b1b551e2dcc104230af461e09ceeea2b07ad1.zip |
Remove obsolete special case username == uid, we do not have such cases anymore
-rw-r--r-- | it_user.class | 7 |
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; } |