From: Sven Strickroth Date: Fri, 5 Jul 2019 06:56:17 +0000 (+0200) Subject: Fix redirect after rescanFailedIntegrityCheck to "Overview" page X-Git-Tag: v16.0.3~9^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cabccd160bd22ed739e08add4eda9916f139627e;p=nextcloud-server.git Fix redirect after rescanFailedIntegrityCheck to "Overview" page 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 --- diff --git a/settings/Controller/CheckSetupController.php b/settings/Controller/CheckSetupController.php index a8102b2e136..3488e41a99d 100644 --- a/settings/Controller/CheckSetupController.php +++ b/settings/Controller/CheckSetupController.php @@ -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']) ); }