1) Fixed a bad module name that prevented the updated WeatherData from running.
2) Heavy refactor of getAssetsInClipboard to make it use getLineage instead of custom SQL. Made Workflow/Activity/TrashClipboard use the same method. Updated getLineage so that the whereClause key must not only exist, but actually have something in it. Otherwise it generates an empty pair of parens, which is a SQL error.
This commit is contained in:
parent
70e156542a
commit
c3052fcd67
5 changed files with 39 additions and 38 deletions
|
|
@ -15,7 +15,7 @@ package WebGUI::Asset::Wobject::WeatherData;
|
|||
=cut
|
||||
|
||||
use strict;
|
||||
use Weather::Com::Simple;
|
||||
use Weather::Simple;
|
||||
use WebGUI::International;
|
||||
use base 'WebGUI::Asset::Wobject';
|
||||
use WebGUI::Utility;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue