reset groups for asset classes listed in database instead of in config file
This commit is contained in:
parent
870d3e591c
commit
24c8e0db7e
1 changed files with 1 additions and 1 deletions
|
|
@ -1187,7 +1187,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 $assetClass (keys %{ $assets }) {
|
||||
ASSET: foreach my $assetClass ($db->quickArray('SELECT DISTINCT className FROM asset')) {
|
||||
my $className = eval { WebGUI::Asset->loadModule($assetClass); };
|
||||
if (my $e = Exception::Class->caught) {
|
||||
warn $e->cause;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue