summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));