Skip to content

Conversation

@blizzz
Copy link
Member

@blizzz blizzz commented Sep 4, 2020

We were still having the update() method on LDAP's User class as well as related values we stored with the users. In the past we changed updating of user records to happen initially (on first importing), in the background, and on login. The use case to do it inline was not given anymore. update() was now only referenced by unit tests. It made use of some other methods and also of the lastFeatureRequest marker in the database. This is not needed anymore, and thus we do not need to write it anymore on every background run. The repair steps take care of removing these rows from the database.

@blizzz
Copy link
Member Author

blizzz commented Sep 4, 2020

/backport to stable19

@blizzz
Copy link
Member Author

blizzz commented Sep 4, 2020

/backport to stable18

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@blizzz blizzz force-pushed the fix/noid/remove-unused-code branch 2 times, most recently from 64341f1 to 18c6b98 Compare September 4, 2020 09:04
@faily-bot

This comment has been minimized.

- only references were in unit tests

Signed-off-by: Arthur Schiwon <[email protected]>
@blizzz blizzz force-pushed the fix/noid/remove-unused-code branch from 18c6b98 to bb02c29 Compare September 4, 2020 10:56
Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small naming suggestion, otherwise 👍

… prefs

- also removes related app setting "updateAttributesInterval"

Signed-off-by: Arthur Schiwon <[email protected]>
@blizzz blizzz force-pushed the fix/noid/remove-unused-code branch from bb02c29 to aa2d754 Compare September 4, 2020 11:00
@blizzz blizzz added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 4, 2020
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 🚀 🧹

@rullzer rullzer mentioned this pull request Sep 6, 2020
13 tasks
@rullzer rullzer merged commit 06a1cfc into master Sep 6, 2020
@rullzer rullzer deleted the fix/noid/remove-unused-code branch September 6, 2020 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: ldap technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants