Fix wrong setting name for audio preview creation. Remove audio prune setting from admin.

(cherry picked from commit 2db812b)
This commit is contained in:
Darko
2015-07-28 11:26:11 +02:00
parent e07e85a63c
commit 1487454dff
2 changed files with 1 additions and 10 deletions
@@ -370,7 +370,7 @@ class ProcessAdditional
if (!$this->pdo->getSetting('ffmpegpath')) {
$this->_processAudioSample = $this->_processThumbnails = $this->_processVideo = false;
} else {
$this->_processAudioSample = ($this->pdo->getSetting('processaudiosample') == 0) ? false : true;
$this->_processAudioSample = ($this->pdo->getSetting('saveaudiopreview') == 0) ? false : true;
$this->_processThumbnails = ($this->pdo->getSetting('processthumbnails') == 0 ? false : true);
$this->_processVideo = ($this->pdo->getSetting('processvideos') == 0) ? false : true;
}