mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 09:48:55 +00:00
Change in nzb class used.
This commit is contained in:
@@ -305,7 +305,7 @@ Class ProcessAdditional
|
||||
$this->pdo = ($options['Settings'] instanceof DB ? $options['Settings'] : new DB());
|
||||
$this->_nntp = ($options['NNTP'] instanceof NNTP ? $options['NNTP'] : new NNTP(['Echo' => $this->_echoCLI, 'Settings' => $this->pdo]));
|
||||
|
||||
$this->_nzb = ($options['NZB'] instanceof NZB ? $options['NZB'] : new NZB($this->pdo));
|
||||
$this->_nzb = ($options['NZB'] instanceof Enzebe ? $options['NZB'] : new Enzebe($this->pdo));
|
||||
$this->_groups = ($options['Groups'] instanceof Groups ? $options['Groups'] : new Groups(['Settings' => $this->pdo]));
|
||||
$this->_archiveInfo = new ArchiveInfo();
|
||||
$this->_releaseFiles = ($options['ReleaseFiles'] instanceof ReleaseFiles ? $options['ReleaseFiles'] : new ReleaseFiles($this->pdo));
|
||||
@@ -708,7 +708,7 @@ Class ProcessAdditional
|
||||
*/
|
||||
protected function _getNZBContents()
|
||||
{
|
||||
$nzbPath = $this->_nzb->getNZBPath($this->_release['guid']);
|
||||
$nzbPath = $this->_nzb->NZBPath($this->_release['guid']);
|
||||
if ($nzbPath === false) {
|
||||
|
||||
$this->_echo('NZB not found for GUID: ' . $this->_release['guid'], 'warning');
|
||||
|
||||
Reference in New Issue
Block a user