s/descendent/descendant/msg when calling getLineage
This commit is contained in:
parent
b97caae3c8
commit
f8c0cb1041
7 changed files with 9 additions and 7 deletions
|
|
@ -212,7 +212,7 @@ sub migrateCalendars {
|
|||
|
||||
# For every EventsCalendar
|
||||
#EventsCalendar.defaultMonth = Calendar.defaultDate
|
||||
my $calendars = WebGUI::Asset->getRoot($session)->getLineage(['descendents'],
|
||||
my $calendars = WebGUI::Asset->getRoot($session)->getLineage(['descendants'],
|
||||
{
|
||||
statesToInclude => ['published','trash','clipboard','clipboard-limbo','trash-limbo'],
|
||||
statusToInclude => ['pending','approved','deleted','archived'],
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ sub addThreadRatingColumn {
|
|||
$session->db->write("alter table Thread add column threadRating integer default 0");
|
||||
my $root = WebGUI::Asset->getRoot($session);
|
||||
my $threads = $root->getLineage(
|
||||
['descendents'],
|
||||
['descendants'],
|
||||
{
|
||||
returnObjects => 1,
|
||||
includeOnlyClasses => ['WebGUI::Asset::Post::Thread'],
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ sub fixEventGroups {
|
|||
my $session = shift;
|
||||
print "\tFixing Event groups for Events created since 7.3.0.....";
|
||||
|
||||
my $events = WebGUI::Asset->getRoot($session)->getLineage(['descendents'], {
|
||||
my $events = WebGUI::Asset->getRoot($session)->getLineage(['descendants'], {
|
||||
statesToInclude => ['published','trash','clipboard','clipboard-limbo','trash-limbo'],
|
||||
statusToInclude => ['pending','approved','deleted','archived'],
|
||||
includeOnlyClasses => ['WebGUI::Asset::Event'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue