From c179ed9fcf3c2fef5bb940dcd15db11757063284 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Thu, 12 Sep 2024 12:21:51 +1200 Subject: [PATCH] API Use new names for renamed classes --- 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;