Remove get_registry method

This commit is contained in:
Romain Neutron
2012-09-28 14:19:48 +02:00
parent 65589f3b21
commit 58af2b4c9c
52 changed files with 109 additions and 146 deletions

View File

@@ -205,7 +205,7 @@ class appbox extends base
}
}
$registry = $databox->get_registry();
$registry = $this->app['phraseanet.registry'];
$file = $registry->get('GV_RootPath') . 'config/minilogos/' . $pic_type . '_' . $databox->get_sbas_id() . '.jpg';
$custom_path = $registry->get('GV_RootPath') . 'www/custom/minilogos/' . $pic_type . '_' . $databox->get_sbas_id() . '.jpg';
@@ -323,7 +323,7 @@ class appbox extends base
$upgrader->add_steps(7 + count($this->get_databoxes()));
$registry = $this->get_registry();
$registry = $this->app['phraseanet.registry'];
/**
* Step 1