Issue #3106272 by pratik_kamble, Hardik_Patel_12, longwave, naresh_bavaskar: Remove unused variable from DateFormatFormBase

merge-requests/2419/head
catch 2020-02-06 17:13:45 +00:00
parent 6d0430d170
commit d33f375327
1 changed files with 0 additions and 3 deletions

View File

@ -7,7 +7,6 @@ use Drupal\Core\Datetime\DateFormatterInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Language\LanguageInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Datetime\DrupalDateTime;
use Drupal\Core\Entity\EntityForm;
/**
@ -38,8 +37,6 @@ abstract class DateFormatFormBase extends EntityForm {
* The date format storage.
*/
public function __construct(DateFormatterInterface $date_formatter, ConfigEntityStorageInterface $date_format_storage) {
$date = new DrupalDateTime();
$this->dateFormatter = $date_formatter;
$this->dateFormatStorage = $date_format_storage;
}