diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-11-24 17:15:06 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-11-24 17:15:06 +0100 |
commit | 957c0df01bbe261162d4feb58b958ac3a2e10735 (patch) | |
tree | 28d892c1ac0a3967003bc7fe3eb32a5062838ee0 | |
parent | 4f2837017c95f063d99a05b6cd6a5e73ac388d75 (diff) | |
download | nextcloud-server-957c0df01bbe261162d4feb58b958ac3a2e10735.tar.gz nextcloud-server-957c0df01bbe261162d4feb58b958ac3a2e10735.zip |
Remove exception for settings app from svg controller
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
-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)); |