mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 10:40:40 -04:00
Avatar should also claim its change
This commit is contained in:
parent
82a37d41d0
commit
096115870c
1 changed files with 2 additions and 2 deletions
|
|
@ -121,7 +121,7 @@ class Avatar implements IAvatar {
|
|||
|
||||
$this->remove();
|
||||
$this->folder->newFile('avatar.'.$type)->putContent($data);
|
||||
$this->user->triggerChange();
|
||||
$this->user->triggerChange('avatar');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -137,7 +137,7 @@ class Avatar implements IAvatar {
|
|||
$avatar->delete();
|
||||
}
|
||||
}
|
||||
$this->user->triggerChange();
|
||||
$this->user->triggerChange('avatar');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue