mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00
Cleanup $registry use
This commit is contained in:
@@ -826,7 +826,6 @@ class API_V1_adapter extends API_V1_Abstract
|
||||
public function search_records(Request $request)
|
||||
{
|
||||
$user = $this->app['phraseanet.user'];
|
||||
$registry = $this->app['phraseanet.registry'];
|
||||
$result = new API_V1_result($request, $this);
|
||||
|
||||
$search_type = ($request->get('search_type')
|
||||
|
@@ -43,7 +43,6 @@ class set_export extends set_abstract
|
||||
public function __construct(Application $app, $lst, $sstid, $storyWZid = null)
|
||||
{
|
||||
$this->app = $app;
|
||||
$registry = $this->app['phraseanet.registry'];
|
||||
|
||||
$user = $app['phraseanet.user'];
|
||||
|
||||
|
Reference in New Issue
Block a user