Remove old WebGUI::Utility isIn and replace with smart match.
This commit is contained in:
parent
d1f3d0771d
commit
398c3afdfd
2 changed files with 2 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ sub view {
|
||||||
push(@found, $child->getId);
|
push(@found, $child->getId);
|
||||||
##Filter based on visibility
|
##Filter based on visibility
|
||||||
next CHILD unless $child->canView;
|
next CHILD unless $child->canView;
|
||||||
next CHILD if isIn($asset, @hidden);
|
next CHILD if $asset ~~ @hidden;
|
||||||
##Detect child types
|
##Detect child types
|
||||||
my $is_shortcut = $child->isa('WebGUI::Asset::Shortcut');
|
my $is_shortcut = $child->isa('WebGUI::Asset::Shortcut');
|
||||||
my $is_dashlet = $child->can('getOverrideFormDefinition');
|
my $is_dashlet = $child->can('getOverrideFormDefinition');
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ my $get_table = session->db->table_info('', '', '%', 'TABLE');
|
||||||
TABLE: while ( my $table = $get_table->fetchrow_hashref() ) {
|
TABLE: while ( my $table = $get_table->fetchrow_hashref() ) {
|
||||||
next TABLE if $table->{TABLE_NAME} eq 'assetIndex';
|
next TABLE if $table->{TABLE_NAME} eq 'assetIndex';
|
||||||
session->db->write("ALTER TABLE ". dbh->quote_identifier($table->{TABLE_NAME}). " ENGINE=InnoDB");
|
session->db->write("ALTER TABLE ". dbh->quote_identifier($table->{TABLE_NAME}). " ENGINE=InnoDB");
|
||||||
|
session->log->warn($table->{TABLE_NAME});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue