diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-07-17 12:49:45 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2015-07-17 15:19:10 +0200 |
commit | 3000f0125fe9470012c362a13ecc33a31cceff18 (patch) | |
tree | 0425400f4844391c8457984443198dd7574cf4ab /apps/encryption/appinfo/register_command.php | |
parent | 87234103195c64ab1791a7865c9a9f1c0486c418 (diff) | |
download | nextcloud-server-3000f0125fe9470012c362a13ecc33a31cceff18.tar.gz nextcloud-server-3000f0125fe9470012c362a13ecc33a31cceff18.zip |
don't move keys if the key where already moved in a previous migration run
Diffstat (limited to 'apps/encryption/appinfo/register_command.php')
-rw-r--r-- | apps/encryption/appinfo/register_command.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/encryption/appinfo/register_command.php b/apps/encryption/appinfo/register_command.php index f727fdf9d70..4fdf7ecec38 100644 --- a/apps/encryption/appinfo/register_command.php +++ b/apps/encryption/appinfo/register_command.php @@ -26,4 +26,5 @@ $userManager = OC::$server->getUserManager(); $view = new \OC\Files\View(); $config = \OC::$server->getConfig(); $connection = \OC::$server->getDatabaseConnection(); -$application->add(new MigrateKeys($userManager, $view, $connection, $config)); +$logger = \OC::$server->getLogger(); +$application->add(new MigrateKeys($userManager, $view, $connection, $config, $logger)); |