Do not decrement passwordstatus

This commit is contained in:
DariusIII
2024-01-25 20:18:12 +01:00
parent f9efe6b10b
commit 05f5a2b50f
@@ -1440,10 +1440,9 @@ class ProcessAdditional
$this->_releaseHasPassword = false;
}
// If we failed to get anything from the RAR/ZIPs, decrement the passwordstatus, if the rar/zip has no password.
// If we failed to get anything from the RAR/ZIPs update the release with what we have, if the rar/zip has no password.
if (! $this->_releaseHasPassword && $this->_NZBHasCompressedFile && $releaseFilesCount === 0) {
$release = Release::query()->where('id', $this->_release->id);
$release->decrement('passwordstatus');
$release->update(
$updateRows
);