Change newByDynamicClass calls that creept in back to newById, except for the ones in doc/upgrade. Kinda important.

This commit is contained in:
Scott Walters 2011-05-11 16:26:32 -04:00
parent 57d2dbed56
commit 96bb194402
8 changed files with 11 additions and 11 deletions

View file

@ -47,7 +47,7 @@ if ($url) {
$asset = WebGUI::Asset->newByUrl($session,$url);
}
else {
$asset = WebGUI::Asset->newByDynamicClass($session,$assetId);
$asset = WebGUI::Asset->newById($session,$assetId);
}
if (defined $asset) {