diff options
author | William <william.hak57@gmail.com> | 2023-01-18 20:32:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 20:32:09 +0100 |
commit | fa12219629fb0bb18c5caef2e48e5b5d45296406 (patch) | |
tree | 2018259338067acdc6c4eab0fee152d169aeb2c9 /lib/private/PreviewManager.php | |
parent | 81ec99ae33d637d4474ee31c41c3b771be4f59e8 (diff) | |
download | nextcloud-server-fa12219629fb0bb18c5caef2e48e5b5d45296406.tar.gz nextcloud-server-fa12219629fb0bb18c5caef2e48e5b5d45296406.zip |
Update lib/private/PreviewManager.php
fix lint issue
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: William <william.hak57@gmail.com>
Diffstat (limited to 'lib/private/PreviewManager.php')
-rw-r--r-- | lib/private/PreviewManager.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/PreviewManager.php b/lib/private/PreviewManager.php index eac3f40efc2..367f0c1c057 100644 --- a/lib/private/PreviewManager.php +++ b/lib/private/PreviewManager.php @@ -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'); |