diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-06-23 11:42:14 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-07-05 14:44:44 +0200 |
commit | ec5cbdeb7ffb87c0169c39e6f44846e819b41f14 (patch) | |
tree | 275f11c139076fbcb60cc39c8ce609dfd3f41f82 /lib/private/Avatar/UserAvatar.php | |
parent | 812016d62614ac3669a3fdf51fa2e07170e08c08 (diff) | |
download | nextcloud-server-ec5cbdeb7ffb87c0169c39e6f44846e819b41f14.tar.gz nextcloud-server-ec5cbdeb7ffb87c0169c39e6f44846e819b41f14.zip |
Make Color class public
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
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 191a6ebfff4..f5a1d7e77b1 100644 --- a/lib/private/Avatar/UserAvatar.php +++ b/lib/private/Avatar/UserAvatar.php @@ -192,7 +192,7 @@ class UserAvatar extends Avatar { $avatars = $this->folder->getDirectoryListing(); $this->config->setUserValue($this->user->getUID(), 'avatar', 'version', - (int) $this->config->getUserValue($this->user->getUID(), 'avatar', 'version', 0) + 1); + (string)((int)$this->config->getUserValue($this->user->getUID(), 'avatar', 'version', '0') + 1)); foreach ($avatars as $avatar) { $avatar->delete(); |