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
|
|
@ -5,6 +5,7 @@
|
||||||
- fixed #10553: WebGUI vulnerable to CSRF attacks
|
- fixed #10553: WebGUI vulnerable to CSRF attacks
|
||||||
- fixed #10607: snippets empty
|
- fixed #10607: snippets empty
|
||||||
- fixed #10601: Edit field in Thing: no submit button
|
- fixed #10601: Edit field in Thing: no submit button
|
||||||
|
- fixed #10560: 7.7.2 upgrade script leaves rssFromParent assets behind (Wes Morgan)
|
||||||
|
|
||||||
7.7.13
|
7.7.13
|
||||||
- fixed #10574: Creating Calendar Entry
|
- fixed #10574: Creating Calendar Entry
|
||||||
|
|
|
||||||
|
|
@ -144,6 +144,8 @@ sub removeRssCapableAsset {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
print "\t\tNot used, removing.\n" unless $quiet;
|
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 RSSCapable");
|
||||||
$session->db->write("DROP TABLE RSSFromParent");
|
$session->db->write("DROP TABLE RSSFromParent");
|
||||||
my $rssCapableTemplates = WebGUI::Asset->getRoot($session)->getLineage(['descendants'], {
|
my $rssCapableTemplates = WebGUI::Asset->getRoot($session)->getLineage(['descendants'], {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue