Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1046644
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
Sun, Jun 29, 2:25 AM
Size
1 KB
Mime Type
text/x-diff
Expires
Mon, Jun 30, 2:25 AM (9 h, 28 m)
Engine
blob
Format
Raw Data
Handle
676659
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