aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-12-20 15:03:22 +0100
committerJoas Schilling <coding@schilljs.com>2019-12-20 15:34:36 +0100
commite37af2d81c2d0ab732d52e865ef53254cc73e086 (patch)
treefa1d87b1f98afd83b4644eaa0d0d94a31f17705e /lib/private/Repair.php
parent9db15459b9d39681965b3a599960e6d2225c57a0 (diff)
downloadnextcloud-server-e37af2d81c2d0ab732d52e865ef53254cc73e086.tar.gz
nextcloud-server-e37af2d81c2d0ab732d52e865ef53254cc73e086.zip
Always set the generated flag to false when an avatar is being set
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r--lib/private/Repair.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index ea06b225be4..e80d6ec7874 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -48,6 +48,7 @@ use OC\Repair\NC16\CleanupCardDAVPhotoCache;
use OC\Repair\NC16\ClearCollectionsAccessCache;
use OC\Repair\NC17\SetEnterpriseLogo;
use OC\Repair\NC17\SwitchUpdateChannel;
+use OC\Repair\NC18\ResetGeneratedAvatarFlag;
use OC\Repair\OldGroupMembershipShares;
use OC\Repair\Owncloud\DropAccountTermsTable;
use OC\Repair\Owncloud\SaveAccountsTableData;
@@ -157,6 +158,7 @@ class Repair implements IOutput {
new ClearCollectionsAccessCache(\OC::$server->getConfig(), \OC::$server->query(IManager::class)),
\OC::$server->query(SwitchUpdateChannel::class),
\OC::$server->query(SetEnterpriseLogo::class),
+ \OC::$server->query(ResetGeneratedAvatarFlag::class),
];
}