mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
Remove get_registry method
This commit is contained in:
@@ -51,7 +51,7 @@ class module_console_checkExtension extends Command
|
||||
|
||||
$appbox = $this->getService('phraseanet.appbox');
|
||||
|
||||
$registry = $appbox->get_registry();
|
||||
$registry = $this->container['phraseanet.registry'];
|
||||
|
||||
$usrId = $input->getArgument('usr_id');
|
||||
|
||||
|
@@ -42,7 +42,7 @@ class module_console_sphinxGenerateSuggestion extends Command
|
||||
define('SUGGEST_DEBUG', 0);
|
||||
|
||||
$appbox = $this->getService('phraseanet.appbox');
|
||||
$registry = $appbox->get_registry();
|
||||
$registry = $this->container['phraseanet.registry'];
|
||||
|
||||
$params = phrasea::sbas_params($this->container);
|
||||
|
||||
|
@@ -214,7 +214,7 @@ class module_report_download extends module_report
|
||||
$databox = $appbox->get_databox((int) $sbas_id);
|
||||
$conn = $databox->get_connection();
|
||||
|
||||
$registry = $databox->get_registry();
|
||||
$registry = $app['phraseanet.registry'];
|
||||
|
||||
$params = array(':site_id' => $registry->get('GV_sit'));
|
||||
$datefilter = module_report_sqlfilter::constructDateFilter($dmin, $dmax);
|
||||
|
Reference in New Issue
Block a user