diff --git a/docs/upgrades/upgrade_7.6.35-7.7.17.pl b/docs/upgrades/upgrade_7.6.35-7.7.17.pl index 4444ab040..4b630c00c 100644 --- a/docs/upgrades/upgrade_7.6.35-7.7.17.pl +++ b/docs/upgrades/upgrade_7.6.35-7.7.17.pl @@ -1442,7 +1442,7 @@ sub addTemplateAttachmentsTable { sub revertUsePacked { my $session = shift; print "\tReverting use packed... " unless $quiet; - my $iter = WebGUI::Asset->getIsa( $session ); + my $iter = WebGUI::Asset->getIsa( $session, 0, { returnAll => 1 } ); while ( my $asset = $iter->() ) { $asset->update({ usePackedHeadTags => 0 }); if ( $asset->isa('WebGUI::Asset::Template') || $asset->isa('WebGUI::Asset::Snippet') ) { diff --git a/docs/upgrades/upgrade_7.7.18-7.7.19.pl b/docs/upgrades/upgrade_7.7.18-7.7.19.pl index bd59859b3..f998be25c 100644 --- a/docs/upgrades/upgrade_7.7.18-7.7.19.pl +++ b/docs/upgrades/upgrade_7.7.18-7.7.19.pl @@ -112,7 +112,7 @@ sub moveCalendarFeedsToJSON { my $session = shift; print "\tMoveing Calendar feeds from database collateral to JSON... " unless $quiet; $session->db->write(q|ALTER TABLE Calendar ADD COLUMN icalFeeds LONGTEXT|); - my $getCalendar = WebGUI::Asset::Wobject::Calendar->getIsa($session); + my $getCalendar = WebGUI::Asset::Wobject::Calendar->getIsa($session, 0, { returnAll => 1 } ); while (my $calendar = $getCalendar->()) { my $feeds = $session->db->buildHashRefOfHashRefs( "select * from Calendar_feeds where assetId=?", diff --git a/docs/upgrades/upgrade_7.7.5-7.7.6.pl b/docs/upgrades/upgrade_7.7.5-7.7.6.pl index 4d60e49f4..db42779b4 100644 --- a/docs/upgrades/upgrade_7.7.5-7.7.6.pl +++ b/docs/upgrades/upgrade_7.7.5-7.7.6.pl @@ -158,7 +158,7 @@ sub addTemplateAttachmentsTable { sub revertUsePacked { my $session = shift; print "\tReverting use packed... " unless $quiet; - my $iter = WebGUI::Asset->getIsa( $session ); + my $iter = WebGUI::Asset->getIsa( $session, 0, { returnAll => 1 } ); while ( my $asset = $iter->() ) { $asset->update({ usePackedHeadTags => 0 }); if ( $asset->isa('WebGUI::Asset::Template') || $asset->isa('WebGUI::Asset::Snippet') ) { diff --git a/docs/upgrades/upgrade_7.8.6-7.8.7.pl b/docs/upgrades/upgrade_7.8.6-7.8.7.pl index 49fab6ca7..86f93c6be 100644 --- a/docs/upgrades/upgrade_7.8.6-7.8.7.pl +++ b/docs/upgrades/upgrade_7.8.6-7.8.7.pl @@ -72,7 +72,7 @@ sub clearOrphanedCSMailCronJobs { sub deleteExtraCronJobsForCS { my $session = shift; print "\tGuarantee that each CS has one and only one Cron job. Older jobs will be deleted... " unless $quiet; - my $cses = WebGUI::Asset::Wobject::Collaboration->getIsa($session); + my $cses = WebGUI::Asset::Wobject::Collaboration->getIsa($session, 0, { returnAll => 1 } ); CS: while( my $cs = $cses->() ) { my @cronIds = $session->db->buildArray('select distinct(getMailCronId) from Collaboration where assetId=?',[$cs->getId]); next CS unless @cronIds > 1;