File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 22
33namespace SilverStripe \UserForms \Task ;
44
5+ use SilverStripe \Dev \Deprecation ;
56use SilverStripe \Dev \MigrationTask ;
67use SilverStripe \ORM \DataObject ;
78use SilverStripe \ORM \DB ;
1314 * Column clean up tasks for Userforms
1415 *
1516 * @package userforms
17+ * @deprecated 6.4.0 Will be removed without equivalent functionality to replace it
1618 */
1719
1820class UserFormsColumnCleanTask extends MigrationTask
@@ -25,6 +27,12 @@ class UserFormsColumnCleanTask extends MigrationTask
2527
2628 protected $ keepColumns = ['ID ' ];
2729
30+ public function __construct ()
31+ {
32+ Deprecation::noticeWithNoReplacment ('6.4.0 ' , '' , Deprecation::SCOPE_CLASS );
33+ parent ::__construct ();
34+ }
35+
2836 /**
2937 * Publish the existing forms.
3038 */
You can’t perform that action at this time.
0 commit comments