Note explicitly that you can pass null to Notice::inScope()
This commit is contained in:
parent
1c63ae29fe
commit
2e56e11482
|
@ -2088,7 +2088,7 @@ class Notice extends Memcached_DataObject
|
||||||
* Users on the site who are not mentioned in the notice will not be able to see the
|
* Users on the site who are not mentioned in the notice will not be able to see the
|
||||||
* notice.
|
* notice.
|
||||||
*
|
*
|
||||||
* @param Profile $profile The profile to check
|
* @param Profile $profile The profile to check; pass null to check for public/unauthenticated users.
|
||||||
*
|
*
|
||||||
* @return boolean whether the profile is in the notice's scope
|
* @return boolean whether the profile is in the notice's scope
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user