From: umherirrender Date: Sun, 12 Jun 2016 16:18:19 +0000 (+0200) Subject: Fix docs/hooks.txt syntax for RequestHasSameOriginSecurity X-Git-Tag: 1.31.0-rc.0~6633^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=e8b3024a2f5f29260ac733383bb46cd81be7916e;p=lhc%2Fweb%2Fwiklou.git Fix docs/hooks.txt syntax for RequestHasSameOriginSecurity There is no place for a type before the variable name Follows 9ec1ef7308acc0366e92f8e6af10ce3cb22b5065 (security patch not in gerrit) Change-Id: I7c2718f8026c7163553b9135362e5de61a26c9f8 --- diff --git a/docs/hooks.txt b/docs/hooks.txt index b3142ab569..e0b91f21c2 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -2533,7 +2533,7 @@ $context: (IContextSource) The RequestContext the skin is being created for. flagged to lack same-origin security. Return false to indicate the lack. Note if the "somehow" involves HTTP headers, you'll probably need to make sure the header is varied on. -WebRequest $request: The request. +$request: The WebRequest object. 'ResetPasswordExpiration': Allow extensions to set a default password expiration $user: The user having their password expiration reset