mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
MAJOR: core upgrade to SS4: running INSPECT on /var/www/upgrades/upgradeto4/dms
This commit is contained in:
parent
b646fe76e3
commit
7eab74e1df
@ -83,14 +83,14 @@ class DMSDocumentSet extends DataObject
|
|||||||
/**
|
/**
|
||||||
* ### @@@@ START REPLACEMENT @@@@ ###
|
* ### @@@@ START REPLACEMENT @@@@ ###
|
||||||
* OLD: private static $db (case sensitive)
|
* OLD: private static $db (case sensitive)
|
||||||
* NEW:
|
* NEW:
|
||||||
private static $table_name = '[SEARCH_REPLACE_CLASS_NAME_GOES_HERE]';
|
private static $table_name = '[SEARCH_REPLACE_CLASS_NAME_GOES_HERE]';
|
||||||
|
|
||||||
private static $db (COMPLEX)
|
private static $db (COMPLEX)
|
||||||
* EXP: Check that is class indeed extends DataObject and that it is not a data-extension!
|
* EXP: Check that is class indeed extends DataObject and that it is not a data-extension!
|
||||||
* ### @@@@ STOP REPLACEMENT @@@@ ###
|
* ### @@@@ STOP REPLACEMENT @@@@ ###
|
||||||
*/
|
*/
|
||||||
|
|
||||||
private static $table_name = 'DMSDocumentSet';
|
private static $table_name = 'DMSDocumentSet';
|
||||||
|
|
||||||
|
|
||||||
@ -450,7 +450,7 @@ class DMSDocumentSet extends DataObject
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function validate()
|
public function validate()
|
||||||
{
|
{
|
||||||
$result = parent::validate();
|
$result = parent::validate();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user