Make sure that all old RSS assets are cleaned up during the switch to the RSS AssetAspect.
This commit is contained in:
parent
9c698f31ff
commit
8fabfdb04c
2 changed files with 3 additions and 0 deletions
|
|
@ -144,6 +144,8 @@ sub removeRssCapableAsset {
|
|||
}
|
||||
else {
|
||||
print "\t\tNot used, removing.\n" unless $quiet;
|
||||
$session->db->write(q|DELETE FROM assetData WHERE assetId IN (SELECT assetId FROM ASSET WHERE className="WebGUI::Asset::RssFromParent")|);
|
||||
$session->db->write(q|DELETE FROM asset WHERE className = "WebGUI::Asset::RssFromParent"|);
|
||||
$session->db->write("DROP TABLE RSSCapable");
|
||||
$session->db->write("DROP TABLE RSSFromParent");
|
||||
my $rssCapableTemplates = WebGUI::Asset->getRoot($session)->getLineage(['descendants'], {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue