mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Move Utility and Country into services
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
namespace App\Services\AdditionalProcessing;
|
||||
|
||||
use Blacklight\NZB;
|
||||
use Blacklight\utility\Utility;
|
||||
use Illuminate\Support\Facades\File;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
@@ -32,7 +31,7 @@ class NzbContentParser
|
||||
return ['contents' => [], 'error' => 'NZB not found for GUID: '.$guid];
|
||||
}
|
||||
|
||||
$nzbContents = Utility::unzipGzipFile($nzbPath);
|
||||
$nzbContents = unzipGzipFile($nzbPath);
|
||||
if (! $nzbContents) {
|
||||
// Try repair on raw file contents
|
||||
$nzbContents = $this->attemptRawRepair($nzbPath);
|
||||
|
||||
Reference in New Issue
Block a user