Skip to content
Permalink
Browse files

Remove old WebGUI::Utility isIn and replace with smart match.

  • Loading branch information...
perlDreamer committed Dec 5, 2011
1 parent d1f3d07 commit 398c3afdfd76489f6398906d073a53f7a0d2deda
Showing with 2 additions and 1 deletion.
  1. +1 −1 lib/WebGUI/Asset/Wobject/Dashboard.pm
  2. +1 −0 share/upgrades/7.10.23-8.0.0/zzzz_convertToInnoDb.pl
@@ -370,7 +370,7 @@ sub view {
push(@found, $child->getId);
##Filter based on visibility
next CHILD unless $child->canView;
next CHILD if isIn($asset, @hidden);
next CHILD if $asset ~~ @hidden;
##Detect child types
my $is_shortcut = $child->isa('WebGUI::Asset::Shortcut');
my $is_dashlet = $child->can('getOverrideFormDefinition');
@@ -8,6 +8,7 @@
TABLE: while ( my $table = $get_table->fetchrow_hashref() ) {
next TABLE if $table->{TABLE_NAME} eq 'assetIndex';
session->db->write("ALTER TABLE ". dbh->quote_identifier($table->{TABLE_NAME}). " ENGINE=InnoDB");
session->log->warn($table->{TABLE_NAME});
}


0 comments on commit 398c3af

Please sign in to comment.
You can’t perform that action at this time.