mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 10:48:53 +00:00
Upgrade nntmux configuration method
This commit is contained in:
@@ -130,7 +130,7 @@ class ProcessReleases
|
||||
];
|
||||
$options += $defaults;
|
||||
|
||||
$this->echoCLI = ($options['Echo'] && env('echocli', true));
|
||||
$this->echoCLI = ($options['Echo'] && config('nntmux.echocli'));
|
||||
|
||||
$this->pdo = ($options['Settings'] instanceof DB ? $options['Settings'] : new DB());
|
||||
$this->consoleTools = ($options['ConsoleTools'] instanceof ConsoleTools ? $options['ConsoleTools'] : new ConsoleTools());
|
||||
@@ -168,7 +168,7 @@ class ProcessReleases
|
||||
*/
|
||||
public function processReleases($categorize, $postProcess, $groupName, &$nntp, $echooutput): int
|
||||
{
|
||||
$this->echoCLI = ($echooutput && env('echocli', true));
|
||||
$this->echoCLI = ($echooutput && config('nntmux.echocli'));
|
||||
$groupID = '';
|
||||
|
||||
if (! empty($groupName) && $groupName !== 'mgr') {
|
||||
|
||||
Reference in New Issue
Block a user