newByDynamicClass changed to newById
This commit is contained in:
parent
0fd922daed
commit
49bd7f5032
41 changed files with 94 additions and 94 deletions
|
|
@ -482,7 +482,7 @@ The sku attached to the object you wish to instanciate.
|
|||
sub newBySku {
|
||||
my ($class, $session, $sku) = @_;
|
||||
my $assetId = $session->db->quickScalar("select assetId from sku where sku=?", [$sku]);
|
||||
return WebGUI::Asset->newByDynamicClass($session, $assetId);
|
||||
return WebGUI::Asset->newById($session, $assetId);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue