diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2019-11-25 08:37:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-25 08:37:09 +0100 |
commit | e4fe1fcc1252e33147e174ef8c58866668a6058c (patch) | |
tree | dd4bac9dc3f2e3c68449f0a199f10bc96bdecff9 | |
parent | 3c17d1b5e2ebb737f7d6d05a73cef37efffcdd3d (diff) | |
parent | 957c0df01bbe261162d4feb58b958ac3a2e10735 (diff) | |
download | nextcloud-server-e4fe1fcc1252e33147e174ef8c58866668a6058c.tar.gz nextcloud-server-e4fe1fcc1252e33147e174ef8c58866668a6058c.zip |
Merge pull request #18095 from nextcloud/enh/svg-settings-app
Remove exception for settings app from svg controller
-rw-r--r-- | core/Controller/SvgController.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/Controller/SvgController.php b/core/Controller/SvgController.php index b956f724ad8..5ad6697eef3 100644 --- a/core/Controller/SvgController.php +++ b/core/Controller/SvgController.php @@ -90,12 +90,6 @@ class SvgController extends Controller { * @return DataDisplayResponse|NotFoundResponse */ public function getSvgFromApp(string $app, string $fileName, string $color = 'ffffff') { - - if ($app === 'settings') { - $path = $this->serverRoot . "/settings/img/$fileName.svg"; - return $this->getSvg($path, $color, $fileName); - } - $appRootPath = $this->appManager->getAppPath($app); $appPath = substr($appRootPath, strlen($this->serverRoot)); |