MINOR Removed arguments to Hierarchy::getDescendantIDList() calls, as the method does not have any (from r98341)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@105861 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-05-28 02:37:58 +00:00
parent 2423e7dc5c
commit 1eb1608707
2 changed files with 2 additions and 2 deletions

View File

@ -513,7 +513,7 @@ JS;
// before deleting the records, get the descendants of this tree
if($record) {
$descendantIDs = $record->getDescendantIDList('SiteTree');
$descendantIDs = $record->getDescendantIDList();
// then delete them from the live site too
$descendantsRemoved = 0;

View File

@ -44,7 +44,7 @@ class ThumbnailStripField extends FormField {
$folder = DataObject::get_by_id('Folder', (int) $_GET['folderID']);
if($folder) {
$folderList = $folder->getDescendantIDList('Folder');
$folderList = $folder->getDescendantIDList();
array_unshift($folderList, $folder->ID);
$whereSQL = '"ParentID" IN (' . implode(', ', $folderList) . ')';