From a661f043e1a8764cb7c795f50df77b830d3e352b Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 26 Jan 2018 23:46:40 +0100 Subject: Remove unneeded semicolon and parentheses Signed-off-by: Morris Jobke --- lib/private/PreviewManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/PreviewManager.php') diff --git a/lib/private/PreviewManager.php b/lib/private/PreviewManager.php index 46ef8862e6b..f9c96aa6e7a 100644 --- a/lib/private/PreviewManager.php +++ b/lib/private/PreviewManager.php @@ -411,7 +411,7 @@ class PreviewManager implements IPreview { // Video requires avconv or ffmpeg if (in_array('OC\Preview\Movie', $this->getEnabledDefaultProvider())) { $avconvBinary = \OC_Helper::findBinaryPath('avconv'); - $ffmpegBinary = ($avconvBinary) ? null : \OC_Helper::findBinaryPath('ffmpeg'); + $ffmpegBinary = $avconvBinary ? null : \OC_Helper::findBinaryPath('ffmpeg'); if ($avconvBinary || $ffmpegBinary) { // FIXME // a bit hacky but didn't want to use subclasses -- cgit v1.2.3