remove WebGUI::Utility::isIn
This commit is contained in:
parent
0e754a51e4
commit
6aa26c2e44
61 changed files with 126 additions and 148 deletions
|
|
@ -247,7 +247,7 @@ cmp_deeply(
|
|||
);
|
||||
|
||||
KEY: foreach my $key (keys %{ $templateVars }) {
|
||||
next KEY if isIn($key, qw/canPostStories addStoryUrl date_loop mode/);
|
||||
next KEY if $key ~~ [qw/canPostStories addStoryUrl date_loop mode/];
|
||||
delete $templateVars->{$key};
|
||||
}
|
||||
|
||||
|
|
@ -305,7 +305,7 @@ $session->user({userId => 3});
|
|||
|
||||
$templateVars = $archive->viewTemplateVariables();
|
||||
KEY: foreach my $key (keys %{ $templateVars }) {
|
||||
next KEY if isIn($key, qw/canPostStories addStoryUrl date_loop/);
|
||||
next KEY if $key ~~ [qw/canPostStories addStoryUrl date_loop/];
|
||||
delete $templateVars->{$key};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue