summaryrefslogtreecommitdiffstats
path: root/lib/private/avatar.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2016-02-09 17:44:49 +0100
committerArthur Schiwon <blizzz@owncloud.com>2016-02-09 17:44:49 +0100
commit096115870cbe07eee246166bfbe93a37937d470a (patch)
tree0befb0ebc58dec77aa52eed5cd5b8e2e614e78d5 /lib/private/avatar.php
parent82a37d41d00d2f56c7cff1c3f8145384ca848d1c (diff)
downloadnextcloud-server-096115870cbe07eee246166bfbe93a37937d470a.tar.gz
nextcloud-server-096115870cbe07eee246166bfbe93a37937d470a.zip
Avatar should also claim its change
Diffstat (limited to 'lib/private/avatar.php')
-rw-r--r--lib/private/avatar.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/avatar.php b/lib/private/avatar.php
index ef7d99fd292..bf25fd3a551 100644
--- a/lib/private/avatar.php
+++ b/lib/private/avatar.php
@@ -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');
}
/**