Skip to content

Commit

Permalink
Merge branch '6' into 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Feb 19, 2025
2 parents 2f07c76 + 3cdb4de commit f592b0c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/Task/UserFormsColumnCleanTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use SilverStripe\Dev\BuildTask;
use SilverStripe\PolyExecution\PolyOutput;
use SilverStripe\Dev\Deprecation;
use SilverStripe\ORM\DataObject;
use SilverStripe\ORM\DB;
use SilverStripe\UserForms\Model\EditableFormField;
Expand All @@ -16,6 +17,7 @@
* Column clean up tasks for Userforms
*
* @package userforms
* @deprecated 6.4.0 Will be removed without equivalent functionality to replace it
*/

class UserFormsColumnCleanTask extends BuildTask
Expand All @@ -30,6 +32,12 @@ class UserFormsColumnCleanTask extends BuildTask

protected $keepColumns = ['ID'];

public function __construct()
{
Deprecation::noticeWithNoReplacment('6.4.0', '', Deprecation::SCOPE_CLASS);
parent::__construct();
}

/**
* Publish the existing forms.
*/
Expand Down

0 comments on commit f592b0c

Please sign in to comment.