mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Do not decrement passwordstatus
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user