Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1099009
D408.id.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
Thu, Aug 14, 11:01 AM
Size
558 B
Mime Type
text/x-diff
Expires
Fri, Aug 15, 11:01 AM (4 h, 48 m)
Engine
blob
Format
Raw Data
Handle
711121
Attached To
D408: INP-1805 - Execute "adm:OnBeforeShutdown" event before AJAX request ending
D408.id.diff
View Options
Index: branches/5.2.x/core/kernel/managers/request_manager.php
===================================================================
--- branches/5.2.x/core/kernel/managers/request_manager.php
+++ branches/5.2.x/core/kernel/managers/request_manager.php
@@ -50,6 +50,7 @@
if ( $event->status == kEvent::erSTOP ) {
// event requested to stop processing at this point
kUtil::safeDefine('DBG_SKIP_REPORTING', 1);
+ $this->Application->HandleEvent(new kEvent('adm:OnBeforeShutdown'));
$this->Application->Session->SaveData();
exit;
}
Event Timeline
Log In to Comment