Skip to content

Commit

Permalink
refactor(selectfield): remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed May 19, 2022
1 parent 6605ced commit 1f02685
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions inc/field/selectfield.class.php
Original file line number Diff line number Diff line change
@@ -57,13 +57,6 @@ public function showForm(array $options): void {
]);
}

public function getDesignSpecializationField(): string {
$specialization = parent::getDesignSpecializationField();
$specialization['may_be_empty'] = true;

return $specialization;
}

public function getRenderedHtml($domain, $canEdit = true): string {
if (!$canEdit) {
return nl2br(__($this->value, $domain)) . PHP_EOL;

0 comments on commit 1f02685

Please sign in to comment.