From 7289ce6bbe89ae00a4c68144a41c76aef1ede0a7 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:38:47 +1200 Subject: [PATCH] API Use new names for renamed classes (#204) --- src/Contract/StaticPublishingTrigger.php | 2 +- src/Extension/Publishable/PublishableSiteTree.php | 2 +- src/Publisher.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Contract/StaticPublishingTrigger.php b/src/Contract/StaticPublishingTrigger.php index 03b290b1..2ab37201 100644 --- a/src/Contract/StaticPublishingTrigger.php +++ b/src/Contract/StaticPublishingTrigger.php @@ -2,7 +2,7 @@ namespace SilverStripe\StaticPublishQueue\Contract; -use SilverStripe\ORM\SS_List; +use SilverStripe\Model\List\SS_List; /** * Describes an object that may wish to trigger updates in other objects as a result of it's own update. diff --git a/src/Extension/Publishable/PublishableSiteTree.php b/src/Extension/Publishable/PublishableSiteTree.php index 8ccf6cb2..38f6e164 100644 --- a/src/Extension/Publishable/PublishableSiteTree.php +++ b/src/Extension/Publishable/PublishableSiteTree.php @@ -7,7 +7,7 @@ use SilverStripe\CMS\Model\VirtualPage; use SilverStripe\Control\Director; use SilverStripe\Core\Extension; -use SilverStripe\ORM\SS_List; +use SilverStripe\Model\List\SS_List; use SilverStripe\StaticPublishQueue\Contract\StaticallyPublishable; use SilverStripe\StaticPublishQueue\Contract\StaticPublishingTrigger; use SilverStripe\StaticPublishQueue\Extension\Engine\SiteTreePublishingEngine; diff --git a/src/Publisher.php b/src/Publisher.php index e77758b2..2f37e0ca 100644 --- a/src/Publisher.php +++ b/src/Publisher.php @@ -16,7 +16,7 @@ use SilverStripe\ORM\FieldType\DBDatetime; use SilverStripe\ORM\FieldType\DBField; use SilverStripe\StaticPublishQueue\Contract\StaticPublisher; -use SilverStripe\View\ArrayData; +use SilverStripe\Model\ArrayData; use SilverStripe\View\Requirements; use SilverStripe\View\Requirements_Backend; use SilverStripe\View\SSViewer;