summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-10-07 13:21:20 +0200
committerMorris Jobke <morris.jobke@gmail.com>2013-10-07 13:21:20 +0200
commitbe4aea2d1b5215a014ab4ae78ea0aa5ea076b48c (patch)
treec4d88016e372d278796e1814d2e0944cd894f423
parente078fc3eda708d2182740935f468f93f1efa6815 (diff)
downloadnextcloud-server-be4aea2d1b5215a014ab4ae78ea0aa5ea076b48c.tar.gz
nextcloud-server-be4aea2d1b5215a014ab4ae78ea0aa5ea076b48c.zip
fix indentation
-rw-r--r--lib/private/preview/unknown.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/private/preview/unknown.php b/lib/private/preview/unknown.php
index 91c73c670f0..62444ac6a24 100644
--- a/lib/private/preview/unknown.php
+++ b/lib/private/preview/unknown.php
@@ -23,13 +23,13 @@ class Unknown extends Provider {
$svgPath = substr_replace($path, 'svg', -3);
if (extension_loaded('imagick') && file_exists($svgPath)) {
- $svg = new \Imagick();
- $svg->setBackgroundColor(new \ImagickPixel('transparent'));
- $svg->readImage($svgPath);
- $svg->setImageFormat('png32');
+ $svg = new \Imagick();
+ $svg->setBackgroundColor(new \ImagickPixel('transparent'));
+ $svg->readImage($svgPath);
+ $svg->setImageFormat('png32');
- $image = new \OC_Image();
- $image->loadFromData($svg);
+ $image = new \OC_Image();
+ $image->loadFromData($svg);
} else {
$image = new \OC_Image($path);
}