Change newByDynamicClass calls that creept in back to newById, except for the ones in doc/upgrade. Kinda important.
This commit is contained in:
parent
57d2dbed56
commit
96bb194402
8 changed files with 11 additions and 11 deletions
|
|
@ -66,7 +66,7 @@ sub du {
|
|||
my $totalSize; # disk space used
|
||||
|
||||
if ($assetId) { # They specified an assetId to start with
|
||||
$asset = WebGUI::Asset->newByDynamicClass($session,$assetId);
|
||||
$asset = WebGUI::Asset->newById($session,$assetId);
|
||||
die ("Unable to instanciate asset $assetId") unless defined $asset;
|
||||
print "\nStarting with asset $assetId...\n" unless $quiet;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue