Skip to content

Commit

Permalink
Remove more dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 13, 2024
1 parent 5eff170 commit f53d0bb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/Cavil/Plugin/Helpers.pm
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ sub register ($self, $app, $config) {
$app->helper('checksum' => \&_checksum);
$app->helper('current_user' => \&_current_user);
$app->helper('current_user_has_role' => \&_current_user_has_role);
$app->helper('current_package' => \&_current_package);
$app->helper('lic' => sub { shift; lic(@_) });
$app->helper('maybe_utf8' => sub { decode('UTF-8', $_[1]) // $_[1] });
$app->helper('reply.json_validation_error' => \&_json_validation_error);
Expand Down Expand Up @@ -79,8 +78,6 @@ sub _checksum ($c, $specfile, $report) {
return md5_sum $text;
}

sub _current_package ($c) { $c->stash('package') }

sub _current_user ($c) { $c->session('user') }

sub _current_user_has_role ($c, $role) {
Expand Down

0 comments on commit f53d0bb

Please sign in to comment.