From a57f0913709c573b618422f74c9079e6a39d9ee6 Mon Sep 17 00:00:00 2001 From: Chris Nehren Date: Thu, 3 Jul 2008 19:33:41 +0000 Subject: [PATCH] Fix the "get all assets" code example in getLineage to show that getRoot needs a $session. --- lib/WebGUI/AssetLineage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/AssetLineage.pm b/lib/WebGUI/AssetLineage.pm index b33e75ab1..74d601c69 100644 --- a/lib/WebGUI/AssetLineage.pm +++ b/lib/WebGUI/AssetLineage.pm @@ -265,7 +265,7 @@ Returns an array reference of relative asset ids based upon rules. =head3 relatives -An array reference of relatives to retrieve. Valid parameters are "siblings", "children", "ancestors", "self", "descendants", "pedigree". If you want to retrieve all assets in the tree, use getRoot->getLineage(["self","descendants"],{returnObjects=>1}); +An array reference of relatives to retrieve. Valid parameters are "siblings", "children", "ancestors", "self", "descendants", "pedigree". If you want to retrieve all assets in the tree, use getRoot($session)->getLineage(["self","descendants"],{returnObjects=>1}); =head3 rules