From 48fb3da61ace4fd510723b466123013229ec3e0b Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:34:49 +1200 Subject: [PATCH] API Use new names for renamed classes (#330) --- src/AddToCampaignHandler.php | 6 +++--- src/CampaignAdmin.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/AddToCampaignHandler.php b/src/AddToCampaignHandler.php index bf74549..8b3a727 100644 --- a/src/AddToCampaignHandler.php +++ b/src/AddToCampaignHandler.php @@ -15,10 +15,10 @@ use SilverStripe\Forms\FieldList; use SilverStripe\Forms\Form; use SilverStripe\Forms\TextField; -use SilverStripe\ORM\ArrayList; +use SilverStripe\Model\List\ArrayList; use SilverStripe\ORM\DataObject; -use SilverStripe\ORM\ValidationException; -use SilverStripe\ORM\ValidationResult; +use SilverStripe\Core\Validation\ValidationException; +use SilverStripe\Core\Validation\ValidationResult; use SilverStripe\Versioned\ChangeSet; use SilverStripe\Versioned\ChangeSetItem; use SilverStripe\Versioned\Versioned; diff --git a/src/CampaignAdmin.php b/src/CampaignAdmin.php index 6d49fb5..d182916 100644 --- a/src/CampaignAdmin.php +++ b/src/CampaignAdmin.php @@ -18,9 +18,9 @@ use SilverStripe\Forms\RequiredFields; use SilverStripe\ORM\DataObject; use SilverStripe\ORM\FieldType\DBDatetime; -use SilverStripe\ORM\SS_List; +use SilverStripe\Model\List\SS_List; use SilverStripe\ORM\UnexpectedDataException; -use SilverStripe\ORM\ValidationResult; +use SilverStripe\Core\Validation\ValidationResult; use SilverStripe\Security\PermissionProvider; use SilverStripe\Security\Security; use SilverStripe\Security\SecurityToken;