Run well-known check after setup

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/169/head
Julius Härtl 2018-12-08 00:36:35 +01:00
rodzic b534b11664
commit 8ff50dbbd7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4C614C6ED2CDE6DF
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
*/