Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F727107
D23.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jan 6, 6:53 AM
Size
1 KB
Mime Type
text/x-diff
Expires
Tue, Jan 7, 6:53 AM (3 d, 42 m ago)
Engine
blob
Format
Raw Data
Handle
537169
Attached To
D23: INP-1369 - Transform all hooks to "OnAfterConfigRead" event into hBEFORE
D23.diff
View Options
Index: branches/5.2.x/core/units/forms/form_submissions/form_submissions_config.php
===================================================================
--- branches/5.2.x/core/units/forms/form_submissions/form_submissions_config.php
+++ branches/5.2.x/core/units/forms/form_submissions/form_submissions_config.php
@@ -31,7 +31,7 @@
'Hooks' => Array(
Array(
- 'Mode' => hAFTER,
+ 'Mode' => hBEFORE,
'Conditional' => false,
'HookToPrefix' => '',
'HookToSpecial' => '*',
@@ -43,7 +43,7 @@
// Captcha processing
Array (
- 'Mode' => hAFTER,
+ 'Mode' => hBEFORE,
'Conditional' => false,
'HookToPrefix' => '',
'HookToSpecial' => '*',
@@ -164,4 +164,4 @@
),
),
),
- );
\ No newline at end of file
+ );
Index: branches/5.2.x/core/units/forms/forms/forms_config.php
===================================================================
--- branches/5.2.x/core/units/forms/forms/forms_config.php
+++ branches/5.2.x/core/units/forms/forms/forms_config.php
@@ -37,7 +37,7 @@
'Hooks' => Array(
Array(
- 'Mode' => hAFTER,
+ 'Mode' => hBEFORE,
'Conditional' => false,
'HookToPrefix' => 'form', //self
'HookToSpecial' => '*',
@@ -222,4 +222,4 @@
),
),
),
- );
\ No newline at end of file
+ );
Index: branches/5.2.x/core/units/users/users_config.php
===================================================================
--- branches/5.2.x/core/units/users/users_config.php
+++ branches/5.2.x/core/units/users/users_config.php
@@ -62,7 +62,7 @@
// Captcha processing
Array (
- 'Mode' => hAFTER,
+ 'Mode' => hBEFORE,
'Conditional' => false,
'HookToPrefix' => '',
'HookToSpecial' => '*',
@@ -662,4 +662,4 @@
),
),
- );
\ No newline at end of file
+ );
Event Timeline
Log In to Comment