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 {