Skip to content

Commit

Permalink
fix: remove unused drop() method
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Nov 10, 2023
1 parent 4b6123d commit ea2029e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions RockFrontend.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -2751,21 +2751,6 @@ private function downloadCDN()
}
}

private function drop($str)
{
$str = str_replace(
["/**\n", " * ", "\n */"],
"",
$str
);
return "<div class='uk-inline'>
<span uk-icon='info' class='uk-margin-small-left'></span>
<div class='uk-card uk-card-body uk-card-default' uk-drop>"
. nl2br($this->wire->sanitizer->entities($str))
. "</div>
</div>";
}

public function isEnabled($feature): bool
{
if (!is_array($this->features)) return false;
Expand Down

0 comments on commit ea2029e

Please sign in to comment.