]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix redirect after rescanFailedIntegrityCheck to "Overview" page 16244/head
authorSven Strickroth <email@cs-ware.de>
Fri, 5 Jul 2019 06:56:17 +0000 (08:56 +0200)
committerBackportbot <backportbot-noreply@rullzer.com>
Fri, 5 Jul 2019 08:22:56 +0000 (08:22 +0000)
The link of the rescanFailedIntegrityCheck link is on the sub page "Overview". After clicking the link, the user is, however, redirected to the "Basic settings" page.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
settings/Controller/CheckSetupController.php

index a8102b2e1362553378da450cb68c5b8604bcb132..3488e41a99dd5930de23e7bd73e56d36ae7f7421 100644 (file)
@@ -334,7 +334,7 @@ class CheckSetupController extends Controller {
        public function rescanFailedIntegrityCheck() {
                $this->checker->runInstanceVerification();
                return new RedirectResponse(
-                       $this->urlGenerator->linkToRoute('settings.AdminSettings.index')
+                       $this->urlGenerator->linkToRoute('settings.AdminSettings.index', ['section' => 'overview'])
                );
        }