From 780b9afc880a2a16e222074810a64b8b7246b15b Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 14 Dec 2023 14:32:40 +1300 Subject: [PATCH] FIX Use correct namespace for import --- code/AuditHookSessionManager.php | 2 +- tests/AuditHookSessionManagerTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/AuditHookSessionManager.php b/code/AuditHookSessionManager.php index 4029c5e..747f0fe 100644 --- a/code/AuditHookSessionManager.php +++ b/code/AuditHookSessionManager.php @@ -6,7 +6,7 @@ use SilverStripe\Core\Injector\Injector; use SilverStripe\ORM\DataExtension; use SilverStripe\Security\Security; -use SilverStripe\SessionManager\Model\LoginSession; +use SilverStripe\SessionManager\Models\LoginSession; /** * Provides logging actions on extension hooks from certain silverstripe/session-manager actions. diff --git a/tests/AuditHookSessionManagerTest.php b/tests/AuditHookSessionManagerTest.php index c94eb05..0e90d6c 100644 --- a/tests/AuditHookSessionManagerTest.php +++ b/tests/AuditHookSessionManagerTest.php @@ -11,7 +11,7 @@ use SilverStripe\Security\Security; use SilverStripe\Security\SecurityToken; use SilverStripe\SessionManager\Control\LoginSessionController; -use SilverStripe\SessionManager\Model\LoginSession; +use SilverStripe\SessionManager\Models\LoginSession; class AuditHookSessionManagerTest extends SapphireTest {