Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1046504
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
Sat, Jun 28, 7:35 PM
Size
558 B
Mime Type
text/x-diff
Expires
Sun, Jun 29, 7:35 PM (8 h, 27 m)
Engine
blob
Format
Raw Data
Handle
676541
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