diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-01-09 20:01:02 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-01-09 20:01:02 +0300 |
commit | 0de9d83114163beb096e7941ccccfbd5e79737f8 (patch) | |
tree | 87e4c67fb333462550e101447b41c525701bd8ee /lib/Service | |
parent | 0364658722121f2fce79d2e6f1858174d2a828af (diff) |
Make issuetemplate 15 compatible
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/ComponentService.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Service/ComponentService.php b/lib/Service/ComponentService.php index b6e00f7..613d538 100644 --- a/lib/Service/ComponentService.php +++ b/lib/Service/ComponentService.php @@ -81,7 +81,7 @@ class ComponentService { try { $icon = $this->urlGenerator->imagePath($appId, $appId . '.svg'); } catch (\RuntimeException $ex) { - $icon = $this->urlGenerator->imagePath('core', 'logo.svg'); + $icon = $this->urlGenerator->imagePath('core', 'logo/logo.svg'); } } $appComponents[$appId]['icon'] = $icon; @@ -105,7 +105,7 @@ class ComponentService { public function getComponent($id, $title, $repo, $logo = '') { if ($logo === '') { - $logo = \OC::$server->getURLGenerator()->imagePath('core','logo.svg'); + $logo = \OC::$server->getURLGenerator()->imagePath('core','logo/logo.svg'); } return [ 'name' => $title, @@ -114,4 +114,4 @@ class ComponentService { 'id' => $id ]; } -}
\ No newline at end of file +} |