kopia lustrzana https://github.com/nextcloud/social
Run well-known check after setup
Signed-off-by: Julius Härtl <jus@bitgrid.net>pull/169/head
rodzic
b534b11664
commit
8ff50dbbd7
|
@ -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
|
||||
*/
|
||||
|
|
Ładowanie…
Reference in New Issue