aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-11-24 17:15:06 +0100
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-11-24 17:15:06 +0100
commit957c0df01bbe261162d4feb58b958ac3a2e10735 (patch)
tree28d892c1ac0a3967003bc7fe3eb32a5062838ee0
parent4f2837017c95f063d99a05b6cd6a5e73ac388d75 (diff)
downloadnextcloud-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.php6
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));