File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
laboratory/src/org/labkey/laboratory Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1717
1818import org .jetbrains .annotations .NotNull ;
1919import org .jetbrains .annotations .Nullable ;
20- import org .json .old . JSONObject ;
20+ import org .json .JSONObject ;
2121import org .labkey .api .data .Container ;
2222import org .labkey .api .data .ContainerManager ;
2323import org .labkey .api .data .UpgradeCode ;
@@ -218,11 +218,10 @@ public Set<String> getSchemaNames()
218218 @ Override
219219 public JSONObject getPageContextJson (ContainerUser context )
220220 {
221- Map <String , Object > ret = new HashMap <>(super .getPageContextJson (context ));
222-
221+ JSONObject ret = super .getPageContextJson (context );
223222 ret .put ("isLaboratoryAdmin" , context .getContainer ().hasPermission (context .getUser (), LaboratoryAdminPermission .class ));
224223
225- return new JSONObject ( ret ) ;
224+ return ret ;
226225 }
227226
228227 @ Override
You can’t perform that action at this time.
0 commit comments