mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 03:08:53 +00:00
Merge pull request #854 from NNTmux/analysis-q2E6Zl
Apply fixes from StyleCI [ci skip] [skip ci]
This commit is contained in:
@@ -51,6 +51,6 @@ $qry = ConsoleInfo::query()->where('cover', '=', 1)->value('id');
|
||||
$colorCli->info($path2covers.$rows['id'].'.jpg does not exist.');
|
||||
$deleted++;
|
||||
}
|
||||
}
|
||||
}
|
||||
$colorCli->header($covers.' covers set.');
|
||||
$colorCli->header($deleted.' consoles unset.');
|
||||
|
||||
@@ -24,7 +24,6 @@ if ($row !== null) {
|
||||
}
|
||||
$path2covers = NN_COVERS.'movies'.DS;
|
||||
|
||||
|
||||
$itr = File::allFiles($path2covers);
|
||||
foreach ($itr as $filePath) {
|
||||
if (is_file($filePath->getPathname()) && preg_match('/-cover\.jpg$/', $filePath->getPathname())) {
|
||||
|
||||
Reference in New Issue
Block a user