Fix docs/hooks.txt syntax for RequestHasSameOriginSecurity
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 12 Jun 2016 16:18:19 +0000 (18:18 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Mon, 13 Jun 2016 16:23:59 +0000 (16:23 +0000)
There is no place for a type before the variable name

Follows 9ec1ef7308acc0366e92f8e6af10ce3cb22b5065 (security patch not in gerrit)

Change-Id: I7c2718f8026c7163553b9135362e5de61a26c9f8

docs/hooks.txt

index b3142ab..e0b91f2 100644 (file)
@@ -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