Skip to content
Snippets Groups Projects
Commit fcdf0000 authored by Prasad's avatar Prasad
Browse files

Fixes #899: Avoid change of user context

parent af43e557
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -19,9 +19,7 @@ class WSAPPAssignToTracker extends VTEventHandler{
}
function handleEvent($eventName, $entityData) {
$user = Users::getActiveAdminUser();
global $current_user;
$current_user = $user;
$db = PearDatabase::getInstance();
$moduleName = $entityData->getModuleName();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment