-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Don't process known avatars from LDAP #17002
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
* avoids useless FS operation * avoids useless DB writes * avoids useless addressbook updates * addendum to #17001 Signed-off-by: Arthur Schiwon <[email protected]>
| // use the checksum before modifications | ||
| $checksum = md5($this->image->data()); | ||
|
|
||
| if($checksum === $this->config->getUserValue($this->uid, 'user_ldap', 'lastAvatarChecksum', '')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A const for lastAvatarChecksum would be nice 👍
|
Master is no 18 development. If this needs to go into 17 please follow the normal backport procedures after merging. |
|
/backport to stable17 |
|
/backport to stable16 |
|
still looking for another reviewer :) |
rullzer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fine by me
skjnldsv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code make sense!
|
backport to stable17 in #17372 |
|
backport to stable16 in #17373 |
addendum to #17001 (see there for details)