diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2019-07-11 18:26:34 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2019-07-11 18:26:34 -0100 |
commit | 7fccfc23257b6103e999ec90a8120b8f5cc69521 (patch) | |
tree | 1d7105409cf7e02d24f11b41f8c4969f8dac5f38 /lib/Controller/NavigationController.php | |
parent | a7f7c0368d8cda62bc3e587e1bc00b277f525d2c (diff) |
fixing some conversion
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Controller/NavigationController.php')
-rw-r--r-- | lib/Controller/NavigationController.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Controller/NavigationController.php b/lib/Controller/NavigationController.php index 1bb8a941..c4438e5a 100644 --- a/lib/Controller/NavigationController.php +++ b/lib/Controller/NavigationController.php @@ -165,6 +165,12 @@ class NavigationController extends Controller { } } + try { + $this->configService->getSocialUrl(); + } catch (SocialAppConfigException $e) { + $this->configService->setSocialUrl(''); + } + if ($data['serverData']['isAdmin']) { $checks = $this->checkService->checkDefault(); $data['serverData']['checks'] = $checks; |