mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merged revisions 52395 via svnmerge from
http://svn.silverstripe.com/open/modules/cms/branches/2.2.2 ........ r52395 | sminnee | 2008-04-09 18:07:57 +1200 (Wed, 09 Apr 2008) | 1 line #2388 - Fixed CMS search. ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@53501 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3148064a9d
commit
b76083ee64
@ -31,6 +31,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
||||
'dialog',
|
||||
'duplicate',
|
||||
'duplicatewithchildren',
|
||||
'filtersitetree',
|
||||
'getpagecount',
|
||||
'getpagemembers',
|
||||
'getversion',
|
||||
@ -45,7 +46,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
||||
'tasklist',
|
||||
'unpublish',
|
||||
'versions',
|
||||
'waitingon',
|
||||
'waitingon',
|
||||
);
|
||||
|
||||
/**
|
||||
@ -141,7 +142,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
||||
/**
|
||||
* Returns a filtered Site Tree
|
||||
*/
|
||||
public function filterSiteTree() {
|
||||
public function filtersitetree() {
|
||||
$className = 'SiteTree';
|
||||
$rootID = null;
|
||||
$obj = $rootID ? $this->getRecord($rootID) : singleton($className);
|
||||
|
Loading…
Reference in New Issue
Block a user