Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-05-08 15:51:55 +0300
committerLukas Reschke <lukas@statuscode.ch>2017-05-08 15:51:55 +0300
commit099234cf12c4d1ec2d1942ed506f463b28ef738c (patch)
tree371d6475df8e76f1c1ce62d983f2059cad4b7eae /lib/public/Defaults.php
parent6acae94a021a6e961a00fe2c33e5468461e65893 (diff)
Add function to request SVG or regular fallback image
Fixes https://github.com/nextcloud/server/issues/4647 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'lib/public/Defaults.php')
-rw-r--r--lib/public/Defaults.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/Defaults.php b/lib/public/Defaults.php
index dbde78bce68..543657694c5 100644
--- a/lib/public/Defaults.php
+++ b/lib/public/Defaults.php
@@ -178,11 +178,12 @@ class Defaults {
/**
* Themed logo url
*
+ * @param bool $useSvg Whether to point to the SVG image or a fallback
* @return string
* @since 12.0.0
*/
- public function getLogo() {
- return $this->defaults->getLogo();
+ public function getLogo($useSvg = true) {
+ return $this->defaults->getLogo($useSvg);
}
/**