mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
API Revert DataObject::validate to 3.1 method signature (protected)
This commit is contained in:
parent
9fd0c5b0d7
commit
f3e1472493
@ -1625,7 +1625,7 @@ class SiteTree extends DataObject implements PermissionProvider,i18nEntityProvid
|
|||||||
$this->_cache_statusFlags = null;
|
$this->_cache_statusFlags = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function validate() {
|
protected function validate() {
|
||||||
$result = parent::validate();
|
$result = parent::validate();
|
||||||
|
|
||||||
// Allowed children validation
|
// Allowed children validation
|
||||||
|
@ -344,7 +344,7 @@ class VirtualPage extends Page {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function validate() {
|
protected function validate() {
|
||||||
$result = parent::validate();
|
$result = parent::validate();
|
||||||
|
|
||||||
// "Can be root" validation
|
// "Can be root" validation
|
||||||
|
Loading…
Reference in New Issue
Block a user