Permalink
Browse files

[ignore] Ignore NPE

  • Loading branch information...
adamretter committed Jan 17, 2014
1 parent ff030c8 commit c93b4942a0ad3d51d14567beb79d0b8fcee81797
Showing with 0 additions and 6 deletions.
  1. +0 −6 src/org/exist/xquery/XQuery.java
@@ -317,12 +317,6 @@ public Sequence execute(final CompiledXQuery expression, final Sequence contextS
} finally {
if(effectiveSubject != null) {
broker.setSubject(callingUser);
-
- //we may have not been setUid, but then xmldb:authenticate and
- //others may have changed the effective user, it is good
- //practice to change it back
- } else if(context.getRealUser().equals(broker.getSubject())) {
- broker.setSubject(context.getRealUser());
}
}
}

0 comments on commit c93b494

Please sign in to comment.