]> source.dussan.org Git - nextcloud-server.git/commitdiff
Update lib/private/PreviewManager.php 36225/head
authorWilliam <william.hak57@gmail.com>
Wed, 18 Jan 2023 19:32:09 +0000 (20:32 +0100)
committerGitHub <noreply@github.com>
Wed, 18 Jan 2023 19:32:09 +0000 (20:32 +0100)
fix lint issue

Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: William <william.hak57@gmail.com>
lib/private/PreviewManager.php

index eac3f40efc21734631ea388bd1c2bbbebe833f08..367f0c1c0571ce15e84eb85270ba4377bf6b3e27 100644 (file)
@@ -417,9 +417,8 @@ class PreviewManager implements IPreview {
 
                // Video requires avconv or ffmpeg
                if (in_array(Preview\Movie::class, $this->getEnabledDefaultProvider())) {
-
                        $movieBinary = $this->config->getSystemValue('preview_ffmpeg_path', null);
-                       if(!is_string($movieBinary)){
+                       if (!is_string($movieBinary)) {
                                $movieBinary = $this->binaryFinder->findBinaryPath('avconv');
                                if (!is_string($movieBinary)) {
                                        $movieBinary = $this->binaryFinder->findBinaryPath('ffmpeg');