mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #9448 from mattclegg/patch-5
[DOCS] Member::logInAs is not a valid example
This commit is contained in:
commit
dcd54ecec0
@ -790,7 +790,7 @@ class Member extends DataObject
|
||||
*
|
||||
* E.g.
|
||||
* <code>
|
||||
* Member::logInAs(Security::findAnAdministrator(), function() {
|
||||
* Member::actAs(Security::findAnAdministrator(), function() {
|
||||
* $record->write();
|
||||
* });
|
||||
* </code>
|
||||
|
Loading…
Reference in New Issue
Block a user