final boolean diskQuotaModuleDisabled = gwc.getDiskQuotaConfig() == null;
// get the quota store config, show an error message in case the quota
// store loading failed
ConfigurableQuotaStoreProvider provider = GeoServerApplication.get().getBeanOfType(ConfigurableQuotaStoreProvider.class);
if(provider.getException() != null) {
ParamResourceModel rm = new ParamResourceModel("GWC.diskQuotaLoadFailed", null, provider.getException().getMessage());
error(rm.getString());
}
// use a dettached copy of dq config to support the tabbed pane
final DiskQuotaConfig diskQuotaConfig;