mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
use Member::class
This commit is contained in:
parent
2e73b5eeca
commit
9391e696bb
@ -60,7 +60,7 @@ class SessionAuthenticationHandler implements AuthenticationHandler
|
||||
return null;
|
||||
}
|
||||
/** @var Member $member */
|
||||
$member = DataObject::get_by_id("SilverStripe\\Security\\Member", $id);
|
||||
$member = DataObject::get_by_id(Member::class, $id);
|
||||
return $member;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user