From 7eab74e1dfc7dba2b4470d210c6fd43f0fe06cf1 Mon Sep 17 00:00:00 2001 From: thiemen Date: Tue, 23 Apr 2019 18:29:20 +1200 Subject: [PATCH] MAJOR: core upgrade to SS4: running INSPECT on /var/www/upgrades/upgradeto4/dms --- src/Model/DMSDocumentSet.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Model/DMSDocumentSet.php b/src/Model/DMSDocumentSet.php index 1fda0b7..fe6d87c 100644 --- a/src/Model/DMSDocumentSet.php +++ b/src/Model/DMSDocumentSet.php @@ -83,14 +83,14 @@ class DMSDocumentSet extends DataObject /** * ### @@@@ START REPLACEMENT @@@@ ### * OLD: private static $db (case sensitive) - * NEW: + * NEW: private static $table_name = '[SEARCH_REPLACE_CLASS_NAME_GOES_HERE]'; private static $db (COMPLEX) * EXP: Check that is class indeed extends DataObject and that it is not a data-extension! * ### @@@@ STOP REPLACEMENT @@@@ ### */ - + private static $table_name = 'DMSDocumentSet'; @@ -450,7 +450,7 @@ class DMSDocumentSet extends DataObject ); } - protected function validate() + public function validate() { $result = parent::validate();