Unverified Commit 8417e5ff authored by alexpott's avatar alexpott
Browse files

Issue #3246471 by apaderno, dagmar, vicheldt: Remove from the DbLogController...

Issue #3246471 by apaderno, dagmar, vicheldt: Remove from the DbLogController class the properties already defined from the parent class

(cherry picked from commit 9629d09d)
parent 7aa1ef1d
......@@ -34,13 +34,6 @@ class DbLogController extends ControllerBase {
*/
protected $database;
/**
* The module handler service.
*
* @var \Drupal\Core\Extension\ModuleHandlerInterface
*/
protected $moduleHandler;
/**
* The date formatter service.
*
......@@ -48,13 +41,6 @@ class DbLogController extends ControllerBase {
*/
protected $dateFormatter;
/**
* The form builder service.
*
* @var \Drupal\Core\Form\FormBuilderInterface
*/
protected $formBuilder;
/**
* The user storage.
*
......@@ -136,9 +122,9 @@ public function overview(Request $request) {
$classes = static::getLogLevelClassMap();
$this->moduleHandler->loadInclude('dblog', 'admin.inc');
$this->moduleHandler()->loadInclude('dblog', 'admin.inc');
$build['dblog_filter_form'] = $this->formBuilder->getForm('Drupal\dblog\Form\DblogFilterForm');
$build['dblog_filter_form'] = $this->formBuilder()->getForm('Drupal\dblog\Form\DblogFilterForm');
$header = [
// Icon column.
......@@ -333,7 +319,7 @@ protected function buildFilterQuery(Request $request) {
return;
}
$this->moduleHandler->loadInclude('dblog', 'admin.inc');
$this->moduleHandler()->loadInclude('dblog', 'admin.inc');
$filters = dblog_filters();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment