mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Use SubDefinitionSubstituerAware in some Controllers
This commit is contained in:
@@ -11,6 +11,7 @@ namespace Alchemy\Phrasea\Controller\Prod;
|
||||
|
||||
use Alchemy\Phrasea\Application\Helper\DataboxLoggerAware;
|
||||
use Alchemy\Phrasea\Application\Helper\FilesystemAware;
|
||||
use Alchemy\Phrasea\Application\Helper\SubDefinitionSubstituerAware;
|
||||
use Alchemy\Phrasea\Controller\Controller;
|
||||
use Alchemy\Phrasea\Controller\RecordsRequest;
|
||||
use Alchemy\Phrasea\Exception\RuntimeException;
|
||||
@@ -28,6 +29,7 @@ class ToolsController extends Controller
|
||||
{
|
||||
use DataboxLoggerAware;
|
||||
use FilesystemAware;
|
||||
use SubDefinitionSubstituerAware;
|
||||
|
||||
public function indexAction(Request $request)
|
||||
{
|
||||
@@ -297,14 +299,6 @@ class ToolsController extends Controller
|
||||
return $this->app['mediavorus'];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return SubdefSubstituer
|
||||
*/
|
||||
private function getSubDefinitionSubstituer()
|
||||
{
|
||||
return $this->app['subdef.substituer'];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return PhraseanetMetadataSetter
|
||||
*/
|
||||
|
Reference in New Issue
Block a user