From 13ee761f059103e3a2289c455b3f031318614bdb Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:37:16 +1200 Subject: [PATCH] API Use new names for renamed classes (#148) --- src/Reports/BrokenExternalLinksReport.php | 2 +- src/Tasks/CheckExternalLinksTask.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Reports/BrokenExternalLinksReport.php b/src/Reports/BrokenExternalLinksReport.php index e3d290e..00df52c 100644 --- a/src/Reports/BrokenExternalLinksReport.php +++ b/src/Reports/BrokenExternalLinksReport.php @@ -6,7 +6,7 @@ use SilverStripe\ExternalLinks\Model\BrokenExternalPageTrackStatus; use SilverStripe\Forms\LiteralField; use SilverStripe\Forms\FormAction; -use SilverStripe\ORM\ArrayList; +use SilverStripe\Model\List\ArrayList; use SilverStripe\Reports\Report; use SilverStripe\View\Requirements; diff --git a/src/Tasks/CheckExternalLinksTask.php b/src/Tasks/CheckExternalLinksTask.php index a9d3224..fc049fe 100644 --- a/src/Tasks/CheckExternalLinksTask.php +++ b/src/Tasks/CheckExternalLinksTask.php @@ -15,7 +15,7 @@ use SilverStripe\ExternalLinks\Tasks\LinkChecker; use SilverStripe\ORM\DataObject; use SilverStripe\ORM\DB; -use SilverStripe\ORM\ValidationException; +use SilverStripe\Core\Validation\ValidationException; use SilverStripe\View\Parsers\HTMLValue; class CheckExternalLinksTask extends BuildTask