mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-11 03:53:13 +00:00
refactor commands
This commit is contained in:
@@ -39,10 +39,7 @@ class module_console_sphinxGenerateSuggestion extends Command
|
||||
|
||||
public function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
if ( ! $this->checkSetup($output)) {
|
||||
|
||||
return 1;
|
||||
}
|
||||
$this->checkSetup();
|
||||
|
||||
define('FREQ_THRESHOLD', 10);
|
||||
define('SUGGEST_DEBUG', 0);
|
||||
|
Reference in New Issue
Block a user