diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-05 15:12:57 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-10-05 20:25:24 +0200 |
commit | d9015a8c94bfd71fe484618a06d276701d3bf9ff (patch) | |
tree | 3f7a1cd6ec2fd982dd02de71b76076f7f01cef70 /lib/private/URLGenerator.php | |
parent | d357f4b10fe1b59e1e07bb90641d647522c7bfe2 (diff) | |
download | nextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.tar.gz nextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.zip |
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/URLGenerator.php')
-rw-r--r-- | lib/private/URLGenerator.php | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/private/URLGenerator.php b/lib/private/URLGenerator.php index 4da6a91b6c9..d7de6cf92a2 100644 --- a/lib/private/URLGenerator.php +++ b/lib/private/URLGenerator.php @@ -198,34 +198,34 @@ class URLGenerator implements IURLGenerator { $path = \OC::$WEBROOT . "/themes/$theme/apps/$appName/img/$file"; } elseif (!file_exists(\OC::$SERVERROOT . "/themes/$theme/apps/$appName/img/$basename.svg") && file_exists(\OC::$SERVERROOT . "/themes/$theme/apps/$appName/img/$basename.png")) { - $path = \OC::$WEBROOT . "/themes/$theme/apps/$appName/img/$basename.png"; + $path = \OC::$WEBROOT . "/themes/$theme/apps/$appName/img/$basename.png"; } elseif (!empty($appName) and file_exists(\OC::$SERVERROOT . "/themes/$theme/$appName/img/$file")) { - $path = \OC::$WEBROOT . "/themes/$theme/$appName/img/$file"; + $path = \OC::$WEBROOT . "/themes/$theme/$appName/img/$file"; } elseif (!empty($appName) and (!file_exists(\OC::$SERVERROOT . "/themes/$theme/$appName/img/$basename.svg") && file_exists(\OC::$SERVERROOT . "/themes/$theme/$appName/img/$basename.png"))) { - $path = \OC::$WEBROOT . "/themes/$theme/$appName/img/$basename.png"; + $path = \OC::$WEBROOT . "/themes/$theme/$appName/img/$basename.png"; } elseif (file_exists(\OC::$SERVERROOT . "/themes/$theme/core/img/$file")) { - $path = \OC::$WEBROOT . "/themes/$theme/core/img/$file"; + $path = \OC::$WEBROOT . "/themes/$theme/core/img/$file"; } elseif (!file_exists(\OC::$SERVERROOT . "/themes/$theme/core/img/$basename.svg") && file_exists(\OC::$SERVERROOT . "/themes/$theme/core/img/$basename.png")) { - $path = \OC::$WEBROOT . "/themes/$theme/core/img/$basename.png"; + $path = \OC::$WEBROOT . "/themes/$theme/core/img/$basename.png"; } elseif ($themingEnabled && $themingImagePath) { $path = $themingImagePath; } elseif ($appPath && file_exists($appPath . "/img/$file")) { - $path = \OC_App::getAppWebPath($appName) . "/img/$file"; + $path = \OC_App::getAppWebPath($appName) . "/img/$file"; } elseif ($appPath && !file_exists($appPath . "/img/$basename.svg") && file_exists($appPath . "/img/$basename.png")) { - $path = \OC_App::getAppWebPath($appName) . "/img/$basename.png"; + $path = \OC_App::getAppWebPath($appName) . "/img/$basename.png"; } elseif (!empty($appName) and file_exists(\OC::$SERVERROOT . "/$appName/img/$file")) { - $path = \OC::$WEBROOT . "/$appName/img/$file"; + $path = \OC::$WEBROOT . "/$appName/img/$file"; } elseif (!empty($appName) and (!file_exists(\OC::$SERVERROOT . "/$appName/img/$basename.svg") && file_exists(\OC::$SERVERROOT . "/$appName/img/$basename.png"))) { - $path = \OC::$WEBROOT . "/$appName/img/$basename.png"; + $path = \OC::$WEBROOT . "/$appName/img/$basename.png"; } elseif (file_exists(\OC::$SERVERROOT . "/core/img/$file")) { - $path = \OC::$WEBROOT . "/core/img/$file"; + $path = \OC::$WEBROOT . "/core/img/$file"; } elseif (!file_exists(\OC::$SERVERROOT . "/core/img/$basename.svg") && file_exists(\OC::$SERVERROOT . "/core/img/$basename.png")) { - $path = \OC::$WEBROOT . "/themes/$theme/core/img/$basename.png"; + $path = \OC::$WEBROOT . "/themes/$theme/core/img/$basename.png"; } if ($path !== '') { |