reset groups for all assets in database instead of those listed in config file
This commit is contained in:
parent
9b725c6d42
commit
0ddd109775
1 changed files with 1 additions and 1 deletions
|
|
@ -1597,7 +1597,7 @@ sub resetGroupFields {
|
|||
|
||||
##Note, I did assets in SQL instead of using the API because you would have to
|
||||
##instanciate every version of the asset that used the group. This should be much quicker
|
||||
ASSET: foreach my $asset (keys %{ $assets }) {
|
||||
ASSET: foreach my $asset ( $db->quickArray('SELECT DISTINCT className FROM asset') ) {
|
||||
my $definition = WebGUI::Pluggable::instanciate($asset, 'definition', [$session]);
|
||||
SUBDEF: foreach my $subdef (@{ $definition }) {
|
||||
next SUBDEF if exists $tableCache->{$subdef->{tableName}};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue