diff options
Diffstat (limited to 'lib/private/Avatar/UserAvatar.php')
-rw-r--r-- | lib/private/Avatar/UserAvatar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Avatar/UserAvatar.php b/lib/private/Avatar/UserAvatar.php index 220077c32f5..8e2a7475bb9 100644 --- a/lib/private/Avatar/UserAvatar.php +++ b/lib/private/Avatar/UserAvatar.php @@ -108,12 +108,12 @@ class UserAvatar extends Avatar { try { $generated = $this->folder->getFile('generated'); - $this->config->setUserValue($this->user->getUID(), 'avatar', 'generated', 'false'); $generated->delete(); } catch (NotFoundException $e) { // } + $this->config->setUserValue($this->user->getUID(), 'avatar', 'generated', 'false'); $this->user->triggerChange('avatar', $file); } |