mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
Remove get_registry method
This commit is contained in:
@@ -85,10 +85,9 @@ abstract class task_databoxAbstract extends task_abstract
|
||||
$this->sbas_id = (int) $row['sbas_id'];
|
||||
$this->log('This task works now on ' . phrasea::sbas_names($this->sbas_id, $app));
|
||||
|
||||
$appbox = $this->dependencyContainer['phraseanet.appbox'];
|
||||
try {
|
||||
// get the records to process
|
||||
$databox = $appbox->get_databox((int) $row['sbas_id']);
|
||||
$databox = $this->dependencyContainer['phraseanet.appbox']->get_databox((int) $row['sbas_id']);
|
||||
} catch (Exception $e) {
|
||||
$this->log(sprintf('Warning : can\' connect to sbas(%s)', $row['sbas_id']));
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user