mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Update console commands
This commit is contained in:
@@ -44,7 +44,7 @@ class module_console_sphinxGenerateSuggestion extends Command
|
||||
$appbox = $this->getService('phraseanet.appbox');
|
||||
$registry = $appbox->get_registry();
|
||||
|
||||
$params = phrasea::sbas_params();
|
||||
$params = phrasea::sbas_params($this->container);
|
||||
|
||||
foreach ($params as $sbas_id => $p) {
|
||||
$index = crc32(
|
||||
@@ -77,7 +77,7 @@ class module_console_sphinxGenerateSuggestion extends Command
|
||||
exec($cmd);
|
||||
|
||||
try {
|
||||
$connbas = connection::getPDOConnection($sbas_id);
|
||||
$connbas = connection::getPDOConnection($this->container, $sbas_id);
|
||||
} catch (Exception $e) {
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user