We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7024d2d commit 7978474Copy full SHA for 7978474
1 file changed
src/Tasks/MigrationTaskTrait.php
@@ -22,9 +22,6 @@
22
use SilverStripe\Versioned\ChangeSetItem;
23
use SilverStripe\Versioned\Versioned;
24
25
-/**
26
- * @deprecated 4.0.0 Will be removed without equivalent functionality.
27
- */
28
trait MigrationTaskTrait
29
{
30
/**
@@ -54,8 +51,12 @@ public function __construct()
54
51
parent::__construct();
55
52
}
56
53
+ /**
+ * @deprecated 4.2.0 Will be replaced with execute()
+ */
57
public function run($request): void
58
59
+ Deprecation::noticeWithNoReplacment('4.2.0', 'Will be replaced with execute()');
60
$db = DB::get_conn();
61
62
// If we don't need to migrate, exit early.
0 commit comments