Merge pull request #169 from nextcloud/bugfix/noid/wellknown-check

Run well-known check after setup
alpha1
Jan-Christoph Borchardt 2018-12-09 00:19:07 +01:00 zatwierdzone przez GitHub
commit fd40dc73a6
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 5 dodań i 3 usunięć

Wyświetl plik

@ -148,9 +148,6 @@ class NavigationController extends Controller {
]
];
$checks = $this->checkService->checkDefault();
$data['serverData']['checks'] = $checks;
try {
$data['serverData']['cloudAddress'] = $this->configService->getCloudAddress();
} catch (SocialAppConfigException $e) {
@ -171,6 +168,11 @@ class NavigationController extends Controller {
}
}
if ($data['serverData']['isAdmin']) {
$checks = $this->checkService->checkDefault();
$data['serverData']['checks'] = $checks;
}
/*
* Create social user account if it doesn't exist yet
*/