summaryrefslogtreecommitdiffstats
path: root/lib/private/Repair.php
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-07-27 16:52:28 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-08-10 14:27:35 +0200
commitbae5be3dc14085a5061cd38e74c07453ed19b66b (patch)
treecf835b8139875131dcb1242ea37f7d29a862f9c7 /lib/private/Repair.php
parent9524badccc6fd1e9d423f8dd8316b32ea576863b (diff)
downloadnextcloud-server-bae5be3dc14085a5061cd38e74c07453ed19b66b.tar.gz
nextcloud-server-bae5be3dc14085a5061cd38e74c07453ed19b66b.zip
add prefix to user and system keys to avoid name collisions
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/private/Repair.php')
-rw-r--r--lib/private/Repair.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/Repair.php b/lib/private/Repair.php
index dae328e6340..4864ad77b8c 100644
--- a/lib/private/Repair.php
+++ b/lib/private/Repair.php
@@ -31,6 +31,7 @@
namespace OC;
use OC\App\AppStore\Bundles\BundleFetcher;
+use OC\Files\AppData\Factory;
use OC\Repair\CleanTags;
use OC\Repair\Collation;
use OC\Repair\MoveUpdaterStepFile;
@@ -39,6 +40,7 @@ use OC\Repair\NC11\FixMountStorages;
use OC\Repair\NC11\MoveAvatars;
use OC\Repair\NC12\InstallCoreBundle;
use OC\Repair\NC12\UpdateLanguageCodes;
+use OC\Repair\NC13\RepairIdentityProofKeyFolders;
use OC\Repair\OldGroupMembershipShares;
use OC\Repair\Owncloud\SaveAccountsTableData;
use OC\Repair\RemoveRootShares;
@@ -145,7 +147,8 @@ class Repair implements IOutput{
\OC::$server->getConfig(),
\OC::$server->query(Installer::class)
),
- new RepairInvalidPaths(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig())
+ new RepairInvalidPaths(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig()),
+ new RepairIdentityProofKeyFolders(\OC::$server->getConfig(), \OC::$server->query(Factory::class), \OC::$server->getRootFolder()),
];
}