Skip to content

Commit 7978474

Browse files
committed
API Deprecate API which was removed or changed in CMS 6
1 parent 7024d2d commit 7978474

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/Tasks/MigrationTaskTrait.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
use SilverStripe\Versioned\ChangeSetItem;
2323
use SilverStripe\Versioned\Versioned;
2424

25-
/**
26-
* @deprecated 4.0.0 Will be removed without equivalent functionality.
27-
*/
2825
trait MigrationTaskTrait
2926
{
3027
/**
@@ -54,8 +51,12 @@ public function __construct()
5451
parent::__construct();
5552
}
5653

54+
/**
55+
* @deprecated 4.2.0 Will be replaced with execute()
56+
*/
5757
public function run($request): void
5858
{
59+
Deprecation::noticeWithNoReplacment('4.2.0', 'Will be replaced with execute()');
5960
$db = DB::get_conn();
6061

6162
// If we don't need to migrate, exit early.

0 commit comments

Comments
 (0)