Avatar should also claim its change

This commit is contained in:
Arthur Schiwon 2016-02-09 17:44:49 +01:00
parent 82a37d41d0
commit 096115870c
1 changed files with 2 additions and 2 deletions

View File

@ -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');
}
/**