mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
FIX: Remove reference to Object class. (#1634)
The Object class is due to be removed and so this removes dependence on it.
This commit is contained in:
parent
13d40f96f3
commit
75b185092e
@ -5,7 +5,6 @@ namespace SilverStripe\CMS\Controllers;
|
||||
use SilverStripe\Admin\LeftAndMain_SearchFilter;
|
||||
use SilverStripe\CMS\Model\SiteTree;
|
||||
use SilverStripe\Core\ClassInfo;
|
||||
use SilverStripe\Core\Object;
|
||||
use SilverStripe\Forms\DateField;
|
||||
use SilverStripe\ORM\DataList;
|
||||
use SilverStripe\ORM\DataObject;
|
||||
@ -23,7 +22,9 @@ use SilverStripe\ORM\Versioning\Versioned;
|
||||
* false depending on whether the given page should be included. Note that you will need to include
|
||||
* parent helper pages yourself.
|
||||
*/
|
||||
abstract class CMSSiteTreeFilter extends Object implements LeftAndMain_SearchFilter {
|
||||
abstract class CMSSiteTreeFilter implements LeftAndMain_SearchFilter {
|
||||
|
||||
use \SilverStripe\Core\Injector\Injectable;
|
||||
|
||||
/**
|
||||
* Search parameters, mostly properties on {@link SiteTree}.
|
||||
@ -95,8 +96,6 @@ abstract class CMSSiteTreeFilter extends Object implements LeftAndMain_SearchFil
|
||||
|
||||
public function __construct($params = null) {
|
||||
if($params) $this->params = $params;
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function getChildrenMethod() {
|
||||
|
Loading…
Reference in New Issue
Block a user